pub struct RelationshipPattern {
pub variable: Option<String>,
pub rel_types: Vec<String>,
pub direction: RelDirection,
pub properties: Option<MapLiteral>,
pub min_hops: Option<u32>,
pub max_hops: Option<u32>,
}Expand description
A relationship pattern: -[variable:TYPE {props}]->.
Fields§
§variable: Option<String>Optional variable binding.
rel_types: Vec<String>Relationship type filters.
direction: RelDirectionArrow direction.
properties: Option<MapLiteral>Optional inline property map.
min_hops: Option<u32>Minimum hops for variable-length paths. None means regular 1-hop.
max_hops: Option<u32>Maximum hops for variable-length paths. None means unbounded (capped by planner).
Trait Implementations§
Source§impl Clone for RelationshipPattern
impl Clone for RelationshipPattern
Source§fn clone(&self) -> RelationshipPattern
fn clone(&self) -> RelationshipPattern
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 RelationshipPattern
impl Debug for RelationshipPattern
Source§impl PartialEq for RelationshipPattern
impl PartialEq 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