pub enum RelationshipQuery {
SharedGroup {
relationship: SemanticRelationship,
},
Related {
relationship: SemanticRelationship,
direction: TraversalDirection,
follow_chain: bool,
},
}Expand description
Source-neutral relationship operation used to select candidates.
Variants§
Select members sharing at least one complete semantic group with the anchor.
Related
Traverse a directed semantic relationship from the anchor.
Fields
§
relationship: SemanticRelationshipHost-registered relationship identity.
§
direction: TraversalDirectionRequested traversal direction.
Trait Implementations§
Source§impl Clone for RelationshipQuery
impl Clone for RelationshipQuery
Source§fn clone(&self) -> RelationshipQuery
fn clone(&self) -> RelationshipQuery
Returns a copy 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 RelationshipQuery
impl Debug for RelationshipQuery
Source§impl Hash for RelationshipQuery
impl Hash for RelationshipQuery
Source§impl Ord for RelationshipQuery
impl Ord for RelationshipQuery
Source§fn cmp(&self, other: &RelationshipQuery) -> Ordering
fn cmp(&self, other: &RelationshipQuery) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RelationshipQuery
impl PartialEq for RelationshipQuery
Source§impl PartialOrd for RelationshipQuery
impl PartialOrd for RelationshipQuery
impl Eq for RelationshipQuery
impl StructuralPartialEq for RelationshipQuery
Auto Trait Implementations§
impl Freeze for RelationshipQuery
impl RefUnwindSafe for RelationshipQuery
impl Send for RelationshipQuery
impl Sync for RelationshipQuery
impl Unpin for RelationshipQuery
impl UnwindSafe for RelationshipQuery
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