pub enum RelationTypeSelection {
All,
Known(RelationTypeId),
Missing,
}Expand description
Relation selection with distinct wildcard and unresolved-name states.
Variants§
All
Expand every relation type.
Known(RelationTypeId)
Expand the checked declared or runtime relation type.
Missing
An explicitly requested type is absent.
Implementations§
Source§impl RelationTypeSelection
impl RelationTypeSelection
Sourcepub const fn known_id(self) -> Option<RelationTypeId>
pub const fn known_id(self) -> Option<RelationTypeId>
Inspect a selected identity without treating missing as a wildcard.
Trait Implementations§
Source§impl Clone for RelationTypeSelection
impl Clone for RelationTypeSelection
impl Copy for RelationTypeSelection
Source§impl Debug for RelationTypeSelection
impl Debug for RelationTypeSelection
Source§impl<'de> Deserialize<'de> for RelationTypeSelection
impl<'de> Deserialize<'de> for RelationTypeSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RelationTypeSelection
Source§impl Hash for RelationTypeSelection
impl Hash for RelationTypeSelection
Source§impl PartialEq for RelationTypeSelection
impl PartialEq for RelationTypeSelection
Source§impl Serialize for RelationTypeSelection
impl Serialize for RelationTypeSelection
impl StructuralPartialEq for RelationTypeSelection
Auto Trait Implementations§
impl Freeze for RelationTypeSelection
impl RefUnwindSafe for RelationTypeSelection
impl Send for RelationTypeSelection
impl Sync for RelationTypeSelection
impl Unpin for RelationTypeSelection
impl UnsafeUnpin for RelationTypeSelection
impl UnwindSafe for RelationTypeSelection
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.