Enum rust_json_parse::JsonValue
source · pub enum JsonValue<'bump> {
Object(&'bump mut JsonObject<'bump>),
Array(&'bump mut Vec<'bump, JsonValue<'bump>>),
String(&'bump mut String<'bump>),
Number(f64),
Boolean(bool),
Null,
}
Variants§
Object(&'bump mut JsonObject<'bump>)
Array(&'bump mut Vec<'bump, JsonValue<'bump>>)
String(&'bump mut String<'bump>)
Number(f64)
Boolean(bool)
Null
Trait Implementations§
source§impl<'bump> PartialEq<JsonValue<'bump>> for JsonValue<'bump>
impl<'bump> PartialEq<JsonValue<'bump>> for JsonValue<'bump>
impl<'bump> StructuralPartialEq for JsonValue<'bump>
Auto Trait Implementations§
impl<'bump> !RefUnwindSafe for JsonValue<'bump>
impl<'bump> !Send for JsonValue<'bump>
impl<'bump> !Sync for JsonValue<'bump>
impl<'bump> Unpin for JsonValue<'bump>
impl<'bump> !UnwindSafe for JsonValue<'bump>
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