Module eventually::serde
source · Expand description
This module provides traits and implementations for serialization and deserialization, allowing you to convert Rust data structures to and from different formats like JSON, Protobuf, etc.
Structs§
- Implements the Serializer and Deserializer traits, which use the serde crate to serialize and deserialize a message into JSON.
- Implements the Serde trait which serializes and deserializes the message using Protobuf format through the
prost::Message
trait.
Traits§
- A deserializer interface that can be used to deserialize a byte array into an instance of a specific Rust data type from a specific wire format.
- Serializer and Deserializer that can be used to serialize into and deserialize from a given type into a specific wire format, such as JSON, Protobuf, etc.
- A serializer interface that can be used to serialize a Rust data type into a specific wire format as a byte array.