#[repr(u8)]pub enum JsonType {
Null = 0,
Boolean = 1,
Number = 2,
String = 3,
Object = 4,
Array = 5,
Raw = 6,
}Expand description
JsonType is an enum that represents the type of a JSON value.
Variants§
Trait Implementations§
source§impl PartialEq for JsonType
impl PartialEq for JsonType
impl Copy for JsonType
impl Eq for JsonType
impl StructuralEq for JsonType
impl StructuralPartialEq for JsonType
Auto Trait Implementations§
impl RefUnwindSafe for JsonType
impl Send for JsonType
impl Sync for JsonType
impl Unpin for JsonType
impl UnwindSafe for JsonType
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