pub struct EdgePattern {
pub variable: Option<String>,
pub label: Option<String>,
pub properties: BTreeMap<String, PropertyCondition>,
pub from_variable: Option<String>,
pub to_variable: Option<String>,
}
Expand description
Edge pattern for matching
Fields§
§variable: Option<String>
Variable name for the edge
label: Option<String>
Edge label to match
properties: BTreeMap<String, PropertyCondition>
Property conditions
from_variable: Option<String>
Source node variable
to_variable: Option<String>
Target node variable
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 moreSource§impl Debug for EdgePattern
impl Debug for EdgePattern
Source§impl<'de> Deserialize<'de> for EdgePattern
impl<'de> Deserialize<'de> for EdgePattern
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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