When your microservice uses custom data structures, it needs a custom serialization format. You can add your own serialization by implementing the Serialize and Deserialize traits, or by adding special attributes to your struct or field of struct. We'll explore both approaches here.