pub enum Type {
Object,
Array,
String,
Number,
Bool,
Null,
}Expand description
The type of the value.
https://datatracker.ietf.org/doc/html/rfc8259#section-3 defines all possible values.
Variants§
Object
An object.
Array
An array.
String
A string.
Number
A RFC-8259 number.
Bool
A boolean.
Null
The null unit value.
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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