pub enum JSONAtom {
Int(i64),
UInt(u64),
Float(f64),
String(String),
Bytes(Vec<u8>),
Bool(bool),
Null,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JSONAtom
impl<'de> Deserialize<'de> for JSONAtom
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 JSONAtom
Auto Trait Implementations§
impl Freeze for JSONAtom
impl RefUnwindSafe for JSONAtom
impl Send for JSONAtom
impl Sync for JSONAtom
impl Unpin for JSONAtom
impl UnwindSafe for JSONAtom
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