#[repr(u32)]pub enum json_type {
JSON_OBJECT = 0,
JSON_ARRAY = 1,
JSON_STRING = 2,
JSON_INTEGER = 3,
JSON_REAL = 4,
JSON_TRUE = 5,
JSON_FALSE = 6,
JSON_NULL = 7,
}Expand description
The type of a JSON value.
Variants§
JSON_OBJECT = 0
JSON_ARRAY = 1
JSON_STRING = 2
JSON_INTEGER = 3
JSON_REAL = 4
JSON_TRUE = 5
JSON_FALSE = 6
JSON_NULL = 7
Trait Implementations§
impl Copy for json_type
impl Eq for json_type
impl StructuralPartialEq for json_type
Auto Trait Implementations§
impl Freeze for json_type
impl RefUnwindSafe for json_type
impl Send for json_type
impl Sync for json_type
impl Unpin for json_type
impl UnwindSafe for json_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