Trait serde_lite::Serialize
source · pub trait Serialize {
// Required method
fn serialize(&self) -> Result<Intermediate, Error>;
}
Expand description
Serialize trait.
The trait can be implemented by objects the can serialized to the intermediate representation.
Required Methods§
sourcefn serialize(&self) -> Result<Intermediate, Error>
fn serialize(&self) -> Result<Intermediate, Error>
Serialize the object.