pub enum ResolvedPatternElement {
Node {
var: Option<VarId>,
labels: Vec<Vec<String>>,
properties: Option<ResolvedExpr>,
},
NodeChain {
head: ResolvedNode,
chain: Vec<ResolvedChain>,
},
ShortestPath {
all: bool,
head: ResolvedNode,
chain: Vec<ResolvedChain>,
},
}Variants§
Node
Fields
§
labels: Vec<Vec<String>>Each inner Vec is a disjunctive group (OR). Outer Vec is conjunctive (AND).
§
properties: Option<ResolvedExpr>NodeChain
ShortestPath
Trait Implementations§
Source§impl Clone for ResolvedPatternElement
impl Clone for ResolvedPatternElement
Source§fn clone(&self) -> ResolvedPatternElement
fn clone(&self) -> ResolvedPatternElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedPatternElement
impl RefUnwindSafe for ResolvedPatternElement
impl Send for ResolvedPatternElement
impl Sync for ResolvedPatternElement
impl Unpin for ResolvedPatternElement
impl UnsafeUnpin for ResolvedPatternElement
impl UnwindSafe for ResolvedPatternElement
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