pub enum JsonValue {
Primitive(JsonPrimitive),
Array(JsonArray),
Object(JsonObject),
}Variants§
Trait Implementations§
Source§impl From<StringOrNumberOrBoolOrNull> for JsonValue
impl From<StringOrNumberOrBoolOrNull> for JsonValue
Source§fn from(value: StringOrNumberOrBoolOrNull) -> Self
fn from(value: StringOrNumberOrBoolOrNull) -> Self
Converts to this type from the input type.
Source§impl From<Vec<(String, JsonValue)>> for JsonValue
impl From<Vec<(String, JsonValue)>> for JsonValue
Source§fn from(value: JsonObject) -> Self
fn from(value: JsonObject) -> Self
Converts to this type from the input type.
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 UnsafeUnpin 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