pub struct EdgeLeg {
pub rel_type: String,
pub direction: EdgeDirection,
pub from: NodePattern,
pub to: NodePattern,
}Expand description
One step in a multi-hop pattern: (from)-[:rel]->(to).
Fields§
§rel_type: String§direction: EdgeDirection§from: NodePattern§to: NodePatternTrait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeLeg
impl RefUnwindSafe for EdgeLeg
impl Send for EdgeLeg
impl Sync for EdgeLeg
impl Unpin for EdgeLeg
impl UnsafeUnpin for EdgeLeg
impl UnwindSafe for EdgeLeg
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more