pub struct NodePattern {
pub variable: Option<String>,
pub labels: Vec<String>,
pub properties: BTreeMap<String, PropertyCondition>,
}
Expand description
Node pattern for matching
Fields§
§variable: Option<String>
Variable name for the node
labels: Vec<String>
Node labels to match
properties: BTreeMap<String, PropertyCondition>
Property conditions
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 moreSource§impl Debug for NodePattern
impl Debug for NodePattern
Source§impl<'de> Deserialize<'de> for NodePattern
impl<'de> Deserialize<'de> for NodePattern
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 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