pub enum RelationSelector {
Id {
relation: RelationRef,
domain: Option<DomainSelector>,
},
Name {
domain: DomainSelector,
name: PublicName,
},
}Variants§
Trait Implementations§
Source§impl Clone for RelationSelector
impl Clone for RelationSelector
Source§fn clone(&self) -> RelationSelector
fn clone(&self) -> RelationSelector
Returns a duplicate 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 RelationSelector
impl Debug for RelationSelector
Source§impl<'de> Deserialize<'de> for RelationSelector
impl<'de> Deserialize<'de> for RelationSelector
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
Source§impl PartialEq for RelationSelector
impl PartialEq for RelationSelector
Source§impl Serialize for RelationSelector
impl Serialize for RelationSelector
impl Eq for RelationSelector
impl StructuralPartialEq for RelationSelector
Auto Trait Implementations§
impl Freeze for RelationSelector
impl RefUnwindSafe for RelationSelector
impl Send for RelationSelector
impl Sync for RelationSelector
impl Unpin for RelationSelector
impl UnsafeUnpin for RelationSelector
impl UnwindSafe for RelationSelector
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