pub enum Value<'json> {
Null,
Bool(bool),
Number(JsonNumber<'json>),
String(JsonString<'json>),
Array(Vec<Value<'json>>),
Object(Object<'json>),
}
Variants§
Null
Bool(bool)
Number(JsonNumber<'json>)
String(JsonString<'json>)
Array(Vec<Value<'json>>)
Object(Object<'json>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'json> Freeze for Value<'json>
impl<'json> RefUnwindSafe for Value<'json>
impl<'json> Send for Value<'json>
impl<'json> Sync for Value<'json>
impl<'json> Unpin for Value<'json>
impl<'json> UnwindSafe for Value<'json>
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