Struct graphql_federated_graph::DirectiveId
source · pub struct DirectiveId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
source§impl Clone for DirectiveId
impl Clone for DirectiveId
source§fn clone(&self) -> DirectiveId
fn clone(&self) -> DirectiveId
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<'de> Deserialize<'de> for DirectiveId
impl<'de> Deserialize<'de> for DirectiveId
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 From<DirectiveId> for usize
impl From<DirectiveId> for usize
source§fn from(DirectiveId: DirectiveId) -> Self
fn from(DirectiveId: DirectiveId) -> Self
Converts to this type from the input type.
source§impl Ord for DirectiveId
impl Ord for DirectiveId
source§fn cmp(&self, other: &DirectiveId) -> Ordering
fn cmp(&self, other: &DirectiveId) -> 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 DirectiveId
impl PartialEq for DirectiveId
source§fn eq(&self, other: &DirectiveId) -> bool
fn eq(&self, other: &DirectiveId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DirectiveId
impl PartialOrd for DirectiveId
source§fn partial_cmp(&self, other: &DirectiveId) -> Option<Ordering>
fn partial_cmp(&self, other: &DirectiveId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for DirectiveId
impl Serialize for DirectiveId
impl Copy for DirectiveId
impl Eq for DirectiveId
impl StructuralPartialEq for DirectiveId
Auto Trait Implementations§
impl Freeze for DirectiveId
impl RefUnwindSafe for DirectiveId
impl Send for DirectiveId
impl Sync for DirectiveId
impl Unpin for DirectiveId
impl UnwindSafe for DirectiveId
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.