Struct graphql_federated_graph::InterfaceId
source · pub struct InterfaceId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
source§impl Clone for InterfaceId
impl Clone for InterfaceId
source§fn clone(&self) -> InterfaceId
fn clone(&self) -> InterfaceId
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 Debug for InterfaceId
impl Debug for InterfaceId
source§impl<'de> Deserialize<'de> for InterfaceId
impl<'de> Deserialize<'de> for InterfaceId
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<InterfaceId> for usize
impl From<InterfaceId> for usize
source§fn from(value: InterfaceId) -> usize
fn from(value: InterfaceId) -> usize
Converts to this type from the input type.
source§impl Hash for InterfaceId
impl Hash for InterfaceId
source§impl Index<InterfaceId> for FederatedGraphV1
impl Index<InterfaceId> for FederatedGraphV1
source§impl Index<InterfaceId> for FederatedGraphV2
impl Index<InterfaceId> for FederatedGraphV2
source§impl Index<InterfaceId> for FederatedGraphV3
impl Index<InterfaceId> for FederatedGraphV3
source§impl IndexMut<InterfaceId> for FederatedGraphV1
impl IndexMut<InterfaceId> for FederatedGraphV1
source§fn index_mut(&mut self, index: InterfaceId) -> &mut Interface
fn index_mut(&mut self, index: InterfaceId) -> &mut Interface
Performs the mutable indexing (
container[index]) operation. Read moresource§impl IndexMut<InterfaceId> for FederatedGraphV2
impl IndexMut<InterfaceId> for FederatedGraphV2
source§fn index_mut(&mut self, index: InterfaceId) -> &mut Interface
fn index_mut(&mut self, index: InterfaceId) -> &mut Interface
Performs the mutable indexing (
container[index]) operation. Read moresource§impl IndexMut<InterfaceId> for FederatedGraphV3
impl IndexMut<InterfaceId> for FederatedGraphV3
source§impl Ord for InterfaceId
impl Ord for InterfaceId
source§fn cmp(&self, other: &InterfaceId) -> Ordering
fn cmp(&self, other: &InterfaceId) -> 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 InterfaceId
impl PartialEq for InterfaceId
source§fn eq(&self, other: &InterfaceId) -> bool
fn eq(&self, other: &InterfaceId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for InterfaceId
impl PartialOrd for InterfaceId
source§fn partial_cmp(&self, other: &InterfaceId) -> Option<Ordering>
fn partial_cmp(&self, other: &InterfaceId) -> 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 InterfaceId
impl Serialize for InterfaceId
impl Copy for InterfaceId
impl Eq for InterfaceId
impl StructuralPartialEq for InterfaceId
Auto Trait Implementations§
impl Freeze for InterfaceId
impl RefUnwindSafe for InterfaceId
impl Send for InterfaceId
impl Sync for InterfaceId
impl Unpin for InterfaceId
impl UnwindSafe for InterfaceId
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.