pub struct JsonBase {
pub size: u32,
pub elements: u32,
pub value: JsonBaseValue,
}
Expand description
This is the base element of a JSON Document.
A JSON Document can have either an Array or An Object as a Base
Fields§
§size: u32
The size of the overall Object (not needed in Rust)
elements: u32
The number of Elements, this base has. (Self-explainatory for Object and Array)
value: JsonBaseValue
The value of this json
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonBase
impl RefUnwindSafe for JsonBase
impl Send for JsonBase
impl Sync for JsonBase
impl Unpin for JsonBase
impl UnwindSafe for JsonBase
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