pub enum AbsentEndPolicy {
Refuse,
Skip,
}Expand description
What a relationship service does with an instance whose required end is absent.
A source can carry relationship instances that omit an end the schema requires, for example a virtual space boundary with no bounding element. Such an instance contributes no edge through the absent end, so treating it as a complete answer would silently read “not related” into a gap. The default refuses; a rule opts into skipping explicitly, and the service then names every skipped instance it passed over in the selection’s evidence.
Variants§
Refuse
Refuse the whole answer while any instance of the type lacks a required end.
Skip
Answer from the edges that exist and cite each skipped instance.
Trait Implementations§
Source§impl Clone for AbsentEndPolicy
impl Clone for AbsentEndPolicy
impl Copy for AbsentEndPolicy
Source§impl Debug for AbsentEndPolicy
impl Debug for AbsentEndPolicy
Source§impl Default for AbsentEndPolicy
impl Default for AbsentEndPolicy
impl Eq for AbsentEndPolicy
Source§impl Hash for AbsentEndPolicy
impl Hash for AbsentEndPolicy
Source§impl Ord for AbsentEndPolicy
impl Ord for AbsentEndPolicy
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AbsentEndPolicy
impl PartialEq for AbsentEndPolicy
Source§impl PartialOrd for AbsentEndPolicy
impl PartialOrd for AbsentEndPolicy
impl StructuralPartialEq for AbsentEndPolicy
Auto Trait Implementations§
impl Freeze for AbsentEndPolicy
impl RefUnwindSafe for AbsentEndPolicy
impl Send for AbsentEndPolicy
impl Sync for AbsentEndPolicy
impl Unpin for AbsentEndPolicy
impl UnsafeUnpin for AbsentEndPolicy
impl UnwindSafe for AbsentEndPolicy
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