Enum serde_lite::Intermediate [−][src]
pub enum Intermediate {
None,
Bool(bool),
Number(Number),
String(String),
Array(Vec<Intermediate>),
Map(Map),
}Expand description
Intermediate data representation.
The format is similar to JSON. It can be serialized/deserialized using serde.
Variants
Bool(bool)Tuple Fields of Bool
0: boolNumber(Number)Tuple Fields of Number
0: NumberString(String)Tuple Fields of String
0: StringArray(Vec<Intermediate>)Tuple Fields of Array
0: Vec<Intermediate>Map(Map)Tuple Fields of Map
0: MapImplementations
Trait Implementations
Deserialize an object instance.
fn deserialize<D>(deserializer: D) -> Result<Intermediate, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Intermediate, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<K, V> From<HashMap<K, V, RandomState>> for Intermediate where
K: Display,
V: Into<Intermediate>,
impl<K, V> From<HashMap<K, V, RandomState>> for Intermediate where
K: Display,
V: Into<Intermediate>,
Serialize the object.
Auto Trait Implementations
impl RefUnwindSafe for Intermediate
impl Send for Intermediate
impl Sync for Intermediate
impl Unpin for Intermediate
impl UnwindSafe for Intermediate
Blanket Implementations
Mutably borrows from an owned value. Read more