pub enum JsonValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
}Expand description
Lightweight JSON-equivalent used in serialized output. We avoid pulling
serde_json::Value into the public API so this crate doesn’t force a
serde_json dependency on downstream library consumers.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonValue
impl RefUnwindSafe for JsonValue
impl Send for JsonValue
impl Sync for JsonValue
impl Unpin for JsonValue
impl UnsafeUnpin for JsonValue
impl UnwindSafe for JsonValue
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