pub struct DirectiveDefinitionId(/* private fields */);
Implementations§
Source§impl DirectiveDefinitionId
impl DirectiveDefinitionId
pub const fn const_from_usize(i: usize) -> Self
Trait Implementations§
Source§impl Clone for DirectiveDefinitionId
impl Clone for DirectiveDefinitionId
Source§fn clone(&self) -> DirectiveDefinitionId
fn clone(&self) -> DirectiveDefinitionId
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 DirectiveDefinitionId
impl Debug for DirectiveDefinitionId
Source§impl<'de> Deserialize<'de> for DirectiveDefinitionId
impl<'de> Deserialize<'de> for DirectiveDefinitionId
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<DirectiveDefinitionId> for usize
impl From<DirectiveDefinitionId> for usize
Source§fn from(value: DirectiveDefinitionId) -> usize
fn from(value: DirectiveDefinitionId) -> usize
Converts to this type from the input type.
Source§impl From<usize> for DirectiveDefinitionId
impl From<usize> for DirectiveDefinitionId
Source§fn from(value: usize) -> DirectiveDefinitionId
fn from(value: usize) -> DirectiveDefinitionId
Converts to this type from the input type.
Source§impl Hash for DirectiveDefinitionId
impl Hash for DirectiveDefinitionId
Source§impl Index<DirectiveDefinitionId> for FederatedGraph
impl Index<DirectiveDefinitionId> for FederatedGraph
Source§type Output = DirectiveDefinitionRecord
type Output = DirectiveDefinitionRecord
The returned type after indexing.
Source§fn index(&self, index: DirectiveDefinitionId) -> &DirectiveDefinitionRecord
fn index(&self, index: DirectiveDefinitionId) -> &DirectiveDefinitionRecord
Performs the indexing (
container[index]
) operation. Read moreSource§impl IndexMut<DirectiveDefinitionId> for FederatedGraph
impl IndexMut<DirectiveDefinitionId> for FederatedGraph
Source§fn index_mut(
&mut self,
index: DirectiveDefinitionId,
) -> &mut DirectiveDefinitionRecord
fn index_mut( &mut self, index: DirectiveDefinitionId, ) -> &mut DirectiveDefinitionRecord
Performs the mutable indexing (
container[index]
) operation. Read moreSource§impl Ord for DirectiveDefinitionId
impl Ord for DirectiveDefinitionId
Source§fn cmp(&self, other: &DirectiveDefinitionId) -> Ordering
fn cmp(&self, other: &DirectiveDefinitionId) -> 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 DirectiveDefinitionId
impl PartialEq for DirectiveDefinitionId
Source§impl PartialOrd for DirectiveDefinitionId
impl PartialOrd for DirectiveDefinitionId
Source§impl Serialize for DirectiveDefinitionId
impl Serialize for DirectiveDefinitionId
impl Copy for DirectiveDefinitionId
impl Eq for DirectiveDefinitionId
impl StructuralPartialEq for DirectiveDefinitionId
Auto Trait Implementations§
impl Freeze for DirectiveDefinitionId
impl RefUnwindSafe for DirectiveDefinitionId
impl Send for DirectiveDefinitionId
impl Sync for DirectiveDefinitionId
impl Unpin for DirectiveDefinitionId
impl UnwindSafe for DirectiveDefinitionId
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,
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more