Struct apollo_compiler::schema::InputObjectType  
source · pub struct InputObjectType {
    pub description: Option<NodeStr>,
    pub name: Name,
    pub directives: DirectiveList,
    pub fields: IndexMap<Name, Component<InputValueDefinition>>,
}Fields§
§description: Option<NodeStr>§name: Name§directives: DirectiveList§fields: IndexMap<Name, Component<InputValueDefinition>>Implementations§
source§impl InputObjectType
 
impl InputObjectType
sourcepub fn extensions(&self) -> IndexSet<&ExtensionId>
 
pub fn extensions(&self) -> IndexSet<&ExtensionId>
Collect input object type extensions that contribute any component
The order of the returned set is unspecified but deterministic for a given apollo-compiler version.
Trait Implementations§
source§impl Clone for InputObjectType
 
impl Clone for InputObjectType
source§fn clone(&self) -> InputObjectType
 
fn clone(&self) -> InputObjectType
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 InputObjectType
 
impl Debug for InputObjectType
source§impl Display for InputObjectType
 
impl Display for InputObjectType
Serialize to GraphQL syntax with the default configuration
source§impl From<InputObjectType> for ExtendedType
 
impl From<InputObjectType> for ExtendedType
source§fn from(ty: InputObjectType) -> Self
 
fn from(ty: InputObjectType) -> Self
Converts to this type from the input type.
source§impl PartialEq for InputObjectType
 
impl PartialEq for InputObjectType
source§fn eq(&self, other: &InputObjectType) -> bool
 
fn eq(&self, other: &InputObjectType) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for InputObjectType
impl StructuralEq for InputObjectType
impl StructuralPartialEq for InputObjectType
Auto Trait Implementations§
impl RefUnwindSafe for InputObjectType
impl Send for InputObjectType
impl Sync for InputObjectType
impl Unpin for InputObjectType
impl UnwindSafe for InputObjectType
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> 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.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.