pub struct RelationshipSelectionRequest { /* private fields */ }Expand description
Request for relationship-selected objects within a caller-bound universe.
Implementations§
Source§impl RelationshipSelectionRequest
impl RelationshipSelectionRequest
Sourcepub fn try_new(
anchor: ObjectId,
candidate_universe: Vec<ObjectId>,
query: RelationshipQuery,
) -> Result<Self, RelationshipSelectionError>
pub fn try_new( anchor: ObjectId, candidate_universe: Vec<ObjectId>, query: RelationshipQuery, ) -> Result<Self, RelationshipSelectionError>
Creates a request with a canonical, duplicate-free candidate universe.
Sourcepub fn candidate_universe(&self) -> &[ObjectId]
pub fn candidate_universe(&self) -> &[ObjectId]
Complete caller-approved universe from which candidates may be returned.
Sourcepub fn query(&self) -> &RelationshipQuery
pub fn query(&self) -> &RelationshipQuery
Requested relationship operation.
Trait Implementations§
Source§impl Clone for RelationshipSelectionRequest
impl Clone for RelationshipSelectionRequest
Source§fn clone(&self) -> RelationshipSelectionRequest
fn clone(&self) -> RelationshipSelectionRequest
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 RelationshipSelectionRequest
impl Debug for RelationshipSelectionRequest
Source§impl Ord for RelationshipSelectionRequest
impl Ord for RelationshipSelectionRequest
Source§fn cmp(&self, other: &RelationshipSelectionRequest) -> Ordering
fn cmp(&self, other: &RelationshipSelectionRequest) -> 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 RelationshipSelectionRequest
impl PartialEq for RelationshipSelectionRequest
Source§fn eq(&self, other: &RelationshipSelectionRequest) -> bool
fn eq(&self, other: &RelationshipSelectionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RelationshipSelectionRequest
impl PartialOrd for RelationshipSelectionRequest
impl Eq for RelationshipSelectionRequest
impl StructuralPartialEq for RelationshipSelectionRequest
Auto Trait Implementations§
impl Freeze for RelationshipSelectionRequest
impl RefUnwindSafe for RelationshipSelectionRequest
impl Send for RelationshipSelectionRequest
impl Sync for RelationshipSelectionRequest
impl Unpin for RelationshipSelectionRequest
impl UnwindSafe for RelationshipSelectionRequest
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