pub struct EdgePattern {
pub variable: Option<String>,
pub types: Vec<String>,
pub direction: EdgeDirection,
pub target: NodePattern,
pub span: Option<SourceSpan>,
}Expand description
An edge pattern like -[:KNOWS]->.
Fields§
§variable: Option<String>Variable name (optional).
types: Vec<String>Edge types to match.
direction: EdgeDirectionDirection of the edge.
target: NodePatternTarget node pattern.
span: Option<SourceSpan>Source span.
Trait Implementations§
Source§impl Clone for EdgePattern
impl Clone for EdgePattern
Source§fn clone(&self) -> EdgePattern
fn clone(&self) -> EdgePattern
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 EdgePattern
impl RefUnwindSafe for EdgePattern
impl Send for EdgePattern
impl Sync for EdgePattern
impl Unpin for EdgePattern
impl UnwindSafe for EdgePattern
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