pub struct RelationshipPattern {
pub direction: Node<RelationshipDirection>,
pub variable: Option<Name>,
pub labels: Option<LabelExpression>,
pub legacy_quantifier: Option<Quantifier>,
pub graph_quantifier: Option<Quantifier>,
pub properties: Option<Box<Expr>>,
pub where_clause: Option<Box<Expr>>,
}Expand description
A relationship pattern between two nodes.
Fields§
§direction: Node<RelationshipDirection>§variable: Option<Name>§labels: Option<LabelExpression>§legacy_quantifier: Option<Quantifier>A legacy variable-length relationship quantifier written inside [].
graph_quantifier: Option<Quantifier>A graph-pattern quantifier written after the relationship pattern.
properties: Option<Box<Expr>>§where_clause: Option<Box<Expr>>Trait Implementations§
Source§impl Clone for RelationshipPattern
impl Clone for RelationshipPattern
Source§impl Debug for RelationshipPattern
impl Debug for RelationshipPattern
Source§impl<'de> Deserialize<'de> for RelationshipPattern
impl<'de> Deserialize<'de> for RelationshipPattern
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 RelationshipPattern
Source§impl Hash for RelationshipPattern
impl Hash for RelationshipPattern
Source§impl PartialEq for RelationshipPattern
impl PartialEq for RelationshipPattern
Source§impl Serialize for RelationshipPattern
impl Serialize for RelationshipPattern
impl StructuralPartialEq for RelationshipPattern
Auto Trait Implementations§
impl Freeze for RelationshipPattern
impl RefUnwindSafe for RelationshipPattern
impl Send for RelationshipPattern
impl Sync for RelationshipPattern
impl Unpin for RelationshipPattern
impl UnsafeUnpin for RelationshipPattern
impl UnwindSafe for RelationshipPattern
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