pub enum GraphIdentityField {
Package,
Symbol,
Parent,
Signature,
RelationSource,
RelationTarget,
ResolutionKey,
}Expand description
Parser-derived identity field that failed strict graph admission.
Variants§
Package
Cargo package name.
Symbol
Symbol name.
Parent
Containing symbol name.
Signature
Symbol signature used by the entity selector.
RelationSource
Relation source name.
RelationTarget
Relation target name.
ResolutionKey
Derived canonical resolution key component.
Trait Implementations§
Source§impl Clone for GraphIdentityField
impl Clone for GraphIdentityField
Source§fn clone(&self) -> GraphIdentityField
fn clone(&self) -> GraphIdentityField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GraphIdentityField
Source§impl Debug for GraphIdentityField
impl Debug for GraphIdentityField
Source§impl<'de> Deserialize<'de> for GraphIdentityField
impl<'de> Deserialize<'de> for GraphIdentityField
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 Display for GraphIdentityField
impl Display for GraphIdentityField
impl Eq for GraphIdentityField
Source§impl Hash for GraphIdentityField
impl Hash for GraphIdentityField
Source§impl Ord for GraphIdentityField
impl Ord for GraphIdentityField
Source§fn cmp(&self, other: &GraphIdentityField) -> Ordering
fn cmp(&self, other: &GraphIdentityField) -> Ordering
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
Source§impl PartialEq for GraphIdentityField
impl PartialEq for GraphIdentityField
Source§fn eq(&self, other: &GraphIdentityField) -> bool
fn eq(&self, other: &GraphIdentityField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GraphIdentityField
impl PartialOrd for GraphIdentityField
Source§impl Serialize for GraphIdentityField
impl Serialize for GraphIdentityField
impl StructuralPartialEq for GraphIdentityField
Auto Trait Implementations§
impl Freeze for GraphIdentityField
impl RefUnwindSafe for GraphIdentityField
impl Send for GraphIdentityField
impl Sync for GraphIdentityField
impl Unpin for GraphIdentityField
impl UnsafeUnpin for GraphIdentityField
impl UnwindSafe for GraphIdentityField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.