pub struct ParseNode {
pub offset: u32,
pub moved: Vec<Odo>,
pub len: u32,
pub kind: Kind,
pub name: Named,
pub occurs: Option<Count>,
pub ignored: bool,
pub indicator: Option<Indicator>,
pub null: Option<(Figurative, MovePlan)>,
pub value: ParseValue,
}Expand description
As JsonNode, a member’s moved counted as its pair is reached, unless SUPPRESS names it. Each
item takes a value in this order: a second value at the same item and offset is a duplicate;
indicator; then a null goes to null’s MOVE, or is ignored, or is a status; an object fills a
group’s members; any other value goes to a leaf.
Fields§
§offset: u32§moved: Vec<Odo>§len: u32§kind: Kind§name: Named§occurs: Option<Count>§ignored: boolIGNORING JSON NULL FOR the item.
indicator: Option<Indicator>§null: Option<(Figurative, MovePlan)>CONVERTING … FROM JSON NULL: the figurative constant and its MOVE into the item.
value: ParseValueTrait Implementations§
impl Eq for ParseNode
impl StructuralPartialEq for ParseNode
Auto Trait Implementations§
impl Freeze for ParseNode
impl RefUnwindSafe for ParseNode
impl Send for ParseNode
impl Sync for ParseNode
impl Unpin for ParseNode
impl UnsafeUnpin for ParseNode
impl UnwindSafe for ParseNode
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