pub struct EdgePattern {
pub source_variable: String,
pub target_variable: String,
pub edge_type: Option<EdgeType>,
pub label_pattern: Option<String>,
pub attribute_constraints: HashMap<String, Value>,
}Expand description
Edge pattern for pattern matching
Fields§
§source_variable: StringSource node variable
target_variable: StringTarget node variable
edge_type: Option<EdgeType>Edge type constraint
label_pattern: Option<String>Label constraint
attribute_constraints: HashMap<String, Value>Attribute constraints
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