pub struct NodePattern {
pub variable: Option<String>,
pub labels: Vec<String>,
pub properties: Vec<(String, Expression)>,
pub span: Option<SourceSpan>,
}Expand description
A node pattern like (n:Person).
Fields§
§variable: Option<String>Variable name (optional).
labels: Vec<String>Labels to match.
properties: Vec<(String, Expression)>Property filters.
span: Option<SourceSpan>Source span.
Trait Implementations§
Source§impl Clone for NodePattern
impl Clone for NodePattern
Source§fn clone(&self) -> NodePattern
fn clone(&self) -> NodePattern
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 NodePattern
impl RefUnwindSafe for NodePattern
impl Send for NodePattern
impl Sync for NodePattern
impl Unpin for NodePattern
impl UnwindSafe for NodePattern
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