pub struct TraversalStep {
pub target_labels: Vec<String>,
pub rel_type: Option<String>,
pub direction: Direction,
pub filter: Option<Expr>,
}Expand description
One level of an alias traversal path (see RelatedSpec::steps).
Fields§
§target_labels: Vec<String>Labels the endpoint at this level must carry (empty = any label).
rel_type: Option<String>Relationship type filter at this level; None matches any type.
direction: DirectionEdge direction at this level.
filter: Option<Expr>Endpoint predicates evaluated on the record at this level (nested label blocks are separate steps, not part of this filter).
Trait Implementations§
Source§impl Clone for TraversalStep
impl Clone for TraversalStep
Source§impl Debug for TraversalStep
impl Debug for TraversalStep
Source§impl<'de> Deserialize<'de> for TraversalStep
impl<'de> Deserialize<'de> for TraversalStep
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
Source§impl PartialEq for TraversalStep
impl PartialEq for TraversalStep
Source§impl Serialize for TraversalStep
impl Serialize for TraversalStep
impl StructuralPartialEq for TraversalStep
Auto Trait Implementations§
impl Freeze for TraversalStep
impl RefUnwindSafe for TraversalStep
impl Send for TraversalStep
impl Sync for TraversalStep
impl Unpin for TraversalStep
impl UnsafeUnpin for TraversalStep
impl UnwindSafe for TraversalStep
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