Struct msgpack_schema::value::Nil [−][src]
pub struct Nil;
Expand description
A special type for serializing and deserializing the nil object.
In our data model () does not represent the nil object because () should be zero-byte but nil has a size.
When you want to serialize or deserialize nil use this type instead.
Trait Implementations
fn deserialize<D>(
deserializer: &mut D
) -> Result<Self, DeserializeError<D::Error>> where
D: Deserializer, [src]Auto Trait Implementations
impl RefUnwindSafe for Nilimpl UnwindSafe for NilBlanket Implementations
Mutably borrows from an owned value. Read more