Struct apollo_compiler::ast::ObjectTypeExtension  
source · pub struct ObjectTypeExtension {
    pub name: Name,
    pub implements_interfaces: Vec<Name>,
    pub directives: DirectiveList,
    pub fields: Vec<Node<FieldDefinition>>,
}Fields§
§name: Name§implements_interfaces: Vec<Name>§directives: DirectiveList§fields: Vec<Node<FieldDefinition>>Implementations§
Trait Implementations§
source§impl Clone for ObjectTypeExtension
 
impl Clone for ObjectTypeExtension
source§fn clone(&self) -> ObjectTypeExtension
 
fn clone(&self) -> ObjectTypeExtension
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 ObjectTypeExtension
 
impl Debug for ObjectTypeExtension
source§impl Display for ObjectTypeExtension
 
impl Display for ObjectTypeExtension
Serialize to GraphQL syntax with the default configuration
source§impl Hash for ObjectTypeExtension
 
impl Hash for ObjectTypeExtension
source§impl PartialEq for ObjectTypeExtension
 
impl PartialEq for ObjectTypeExtension
source§fn eq(&self, other: &ObjectTypeExtension) -> bool
 
fn eq(&self, other: &ObjectTypeExtension) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for ObjectTypeExtension
impl StructuralEq for ObjectTypeExtension
impl StructuralPartialEq for ObjectTypeExtension
Auto Trait Implementations§
impl RefUnwindSafe for ObjectTypeExtension
impl Send for ObjectTypeExtension
impl Sync for ObjectTypeExtension
impl Unpin for ObjectTypeExtension
impl UnwindSafe for ObjectTypeExtension
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 Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.