pub struct PathStep {
pub node: AstNode,
pub stages: Vec<Stage>,
}Expand description
A step in a path expression with optional stages
Stages are operations (like predicates) that apply during the step evaluation, not after all steps are complete.
Fields§
§node: AstNodeThe main step node (field name, wildcard, etc.)
stages: Vec<Stage>Stages to apply during this step (e.g., predicates)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathStep
impl<'de> Deserialize<'de> for PathStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PathStep
Auto Trait Implementations§
impl Freeze for PathStep
impl RefUnwindSafe for PathStep
impl Send for PathStep
impl Sync for PathStep
impl Unpin for PathStep
impl UnsafeUnpin for PathStep
impl UnwindSafe for PathStep
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