struct serializer assignment