pub struct JsonNode {
pub offset: u32,
pub moved: Vec<Odo>,
pub len: u32,
pub kind: Kind,
pub name: u32,
pub occurs: Option<Count>,
pub indicator: Option<(Result<u32, u32>, Marker)>,
pub null: Option<Figurative>,
pub value: JsonValue,
}Expand description
An item of the tree, offset bytes into the occurrence of the node that holds it, less the
unused occurrences of the moved tables, which lie ahead of it in its record and not ahead of
that node and are counted as the walk reaches it (C161), before occurs; len its size; a
table’s elements are len apart, occurs of them. name is a member’s JSON string. Each
occurrence, of a group or an elementary item, is null when indicator’s marker holds or it
equals null, tested in that order before its value.
Fields§
§offset: u32§moved: Vec<Odo>§len: u32§kind: Kind§name: u32§occurs: Option<Count>§indicator: Option<(Result<u32, u32>, Marker)>INDICATING: the indicator, located with the walk’s subscripts, whose first byte Marker
tests; or the abend of locating it with too few.
null: Option<Figurative>CONVERTING … TO JSON NULL: null when the item equals this figurative constant.
value: JsonValueTrait Implementations§
impl Eq for JsonNode
impl StructuralPartialEq for JsonNode
Auto Trait Implementations§
impl Freeze for JsonNode
impl RefUnwindSafe for JsonNode
impl Send for JsonNode
impl Sync for JsonNode
impl Unpin for JsonNode
impl UnsafeUnpin for JsonNode
impl UnwindSafe for JsonNode
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