pub enum JsonValue {
Null,
Boolean(JsonValueBoolean),
Number(JsonValueNumber),
String(JsonValueString),
Array(JsonValueArray),
Object(JsonValueObject),
}
Variants§
Null
Represents a null JSON value
Boolean(JsonValueBoolean)
Represents a boolean JSON value
Number(JsonValueNumber)
Represents a numeric JSON value
String(JsonValueString)
Represents a string JSON value
Array(JsonValueArray)
Represents a JSON array
Object(JsonValueObject)
Represents a JSON object
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonValue
impl<'de> Deserialize<'de> for JsonValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for JsonValue
Auto Trait Implementations§
impl Freeze for JsonValue
impl RefUnwindSafe for JsonValue
impl Send for JsonValue
impl Sync for JsonValue
impl Unpin 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