Enum dalloriam_cloud_protocol::Variant
source · [−]pub enum Variant {
Str(String),
Int(i32),
Double(f64),
Bool(bool),
Seq(Vec<Variant>),
Map(HashMap<String, Variant>),
}
Variants
Str(String)
Int(i32)
Double(f64)
Bool(bool)
Seq(Vec<Variant>)
Map(HashMap<String, Variant>)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Variant
impl UnwindSafe for Variant
Blanket Implementations
Mutably borrows from an owned value. Read more