pub struct NodePattern {
pub variable: Option<Name>,
pub labels: Option<LabelExpression>,
pub properties: Option<Box<Expr>>,
pub where_clause: Option<Box<Expr>>,
}Expand description
A node pattern (variable:Label {properties}).
Fields§
§variable: Option<Name>§labels: Option<LabelExpression>§properties: Option<Box<Expr>>§where_clause: Option<Box<Expr>>Trait Implementations§
Source§impl Clone for NodePattern
impl Clone for NodePattern
Source§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
impl Eq for NodePattern
Source§impl Hash for NodePattern
impl Hash for NodePattern
Source§impl PartialEq for NodePattern
impl PartialEq for NodePattern
Source§impl Serialize for NodePattern
impl Serialize for NodePattern
impl StructuralPartialEq for NodePattern
Auto Trait Implementations§
impl Freeze for NodePattern
impl RefUnwindSafe for NodePattern
impl Send for NodePattern
impl Sync for NodePattern
impl Unpin for NodePattern
impl UnsafeUnpin 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