pub enum Step {
Field(String),
Element(usize),
Key(String),
Constructor(String),
}Expand description
One step of a Place, as json.Step names it.
Variants§
Field(String)
A record field or a named payload field.
Element(usize)
The element at this index, counted from 0, of a list, a set, a tuple,
a positional payload or a Dict written as pairs.
Key(String)
The value under this key of a Dict written as a JSON object.
Constructor(String)
The payload of the enum constructor of this name.
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl RefUnwindSafe for Step
impl Send for Stepwhere
RawVecInner: Send,
impl Sync for Stepwhere
RawVecInner: Sync,
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Stepwhere
RawVecInner: UnwindSafe,
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