Struct graphql_federated_graph::InputObjectId
source · pub struct InputObjectId(pub usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for InputObjectId
impl Clone for InputObjectId
source§fn clone(&self) -> InputObjectId
fn clone(&self) -> InputObjectId
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 InputObjectId
impl Debug for InputObjectId
source§impl<'de> Deserialize<'de> for InputObjectId
impl<'de> Deserialize<'de> for InputObjectId
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 Hash for InputObjectId
impl Hash for InputObjectId
source§impl Index<InputObjectId> for FederatedGraphV1
impl Index<InputObjectId> for FederatedGraphV1
§type Output = InputObject
type Output = InputObject
The returned type after indexing.
source§fn index(&self, index: InputObjectId) -> &InputObject
fn index(&self, index: InputObjectId) -> &InputObject
Performs the indexing (
container[index]
) operation. Read moresource§impl IndexMut<InputObjectId> for FederatedGraphV1
impl IndexMut<InputObjectId> for FederatedGraphV1
source§fn index_mut(&mut self, index: InputObjectId) -> &mut InputObject
fn index_mut(&mut self, index: InputObjectId) -> &mut InputObject
Performs the mutable indexing (
container[index]
) operation. Read moresource§impl Ord for InputObjectId
impl Ord for InputObjectId
source§fn cmp(&self, other: &InputObjectId) -> Ordering
fn cmp(&self, other: &InputObjectId) -> 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 InputObjectId
impl PartialEq for InputObjectId
source§fn eq(&self, other: &InputObjectId) -> bool
fn eq(&self, other: &InputObjectId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InputObjectId
impl PartialOrd for InputObjectId
source§fn partial_cmp(&self, other: &InputObjectId) -> Option<Ordering>
fn partial_cmp(&self, other: &InputObjectId) -> 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 InputObjectId
impl Serialize for InputObjectId
impl Copy for InputObjectId
impl Eq for InputObjectId
impl StructuralPartialEq for InputObjectId
Auto Trait Implementations§
impl RefUnwindSafe for InputObjectId
impl Send for InputObjectId
impl Sync for InputObjectId
impl Unpin for InputObjectId
impl UnwindSafe for InputObjectId
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
Checks if this value is equivalent to the given key. Read more
§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.