pub enum Any {
Undefined,
Null,
Integer(i32),
Float32(OrderedFloat<f32>),
Float64(OrderedFloat<f64>),
BigInt64(i64),
False,
True,
String(String),
Object(HashMap<String, Any>),
Array(Vec<Any>),
Binary(Vec<u8>),
}
Variants§
Undefined
Null
Integer(i32)
Float32(OrderedFloat<f32>)
Float64(OrderedFloat<f64>)
BigInt64(i64)
False
True
String(String)
Object(HashMap<String, Any>)
Array(Vec<Any>)
Binary(Vec<u8>)
Trait Implementations§
Source§impl<R: CrdtReader> CrdtRead<R> for Any
impl<R: CrdtReader> CrdtRead<R> for Any
fn read(reader: &mut R) -> JwstCodecResult<Self>
Source§impl<W: CrdtWriter> CrdtWrite<W> for Any
impl<W: CrdtWriter> CrdtWrite<W> for Any
fn write(&self, writer: &mut W) -> JwstCodecResult
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
Source§impl<'a> FromIterator<&'a Any> for Any
impl<'a> FromIterator<&'a Any> for Any
Source§impl FromIterator<Any> for Any
impl FromIterator<Any> for Any
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