pub enum Any {
String(String),
Bool(bool),
UInt32(u32),
UInt64(u64),
Int32(i32),
Int64(i64),
Float32(f32),
Float64(f64),
List(Vec<Any>),
Map(HashMap<String, Any>),
}
Variants§
String(String)
Bool(bool)
UInt32(u32)
UInt64(u64)
Int32(i32)
Int64(i64)
Float32(f32)
Float64(f64)
List(Vec<Any>)
Map(HashMap<String, Any>)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Any
impl<'de> Deserialize<'de> for Any
source§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
impl StructuralPartialEq for Any
Auto Trait Implementations§
impl Freeze for Any
impl RefUnwindSafe for Any
impl Send for Any
impl Sync for Any
impl Unpin for Any
impl UnwindSafe for Any
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more