pub struct GraphMatchNode {
pub variable: Option<SymbolPrimitive>,
pub label: Option<AstNode<GraphMatchLabel>>,
pub where_clause: Option<Box<Expr>>,
}Expand description
A single node in a graph pattern.
Fields§
§variable: Option<SymbolPrimitive>the optional element variable of the node match, e.g.: x in MATCH (x)
label: Option<AstNode<GraphMatchLabel>>the optional label(s) to match for the node, e.g.: Entity in MATCH (x:Entity)
where_clause: Option<Box<Expr>>an optional node where clause, e.g.: WHERE c.name='Alarm' in MATCH (c WHERE c.name='Alarm')
Trait Implementations§
Source§impl Clone for GraphMatchNode
impl Clone for GraphMatchNode
Source§impl Debug for GraphMatchNode
impl Debug for GraphMatchNode
Source§impl PartialEq for GraphMatchNode
impl PartialEq for GraphMatchNode
Source§impl PrettyDoc for GraphMatchNode
impl PrettyDoc for GraphMatchNode
fn pretty_doc<'b, D, A>(&'b self, arena: &'b D) -> DocBuilder<'b, D, A>
impl StructuralPartialEq for GraphMatchNode
Auto Trait Implementations§
impl Freeze for GraphMatchNode
impl RefUnwindSafe for GraphMatchNode
impl Send for GraphMatchNode
impl Sync for GraphMatchNode
impl Unpin for GraphMatchNode
impl UnsafeUnpin for GraphMatchNode
impl UnwindSafe for GraphMatchNode
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