Struct apollo_compiler::ast::FragmentDefinition  
source · pub struct FragmentDefinition {
    pub name: Name,
    pub type_condition: NamedType,
    pub directives: DirectiveList,
    pub selection_set: Vec<Selection>,
}Fields§
§name: Name§type_condition: NamedType§directives: DirectiveList§selection_set: Vec<Selection>Implementations§
Trait Implementations§
source§impl Clone for FragmentDefinition
 
impl Clone for FragmentDefinition
source§fn clone(&self) -> FragmentDefinition
 
fn clone(&self) -> FragmentDefinition
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 FragmentDefinition
 
impl Debug for FragmentDefinition
source§impl Display for FragmentDefinition
 
impl Display for FragmentDefinition
Serialize to GraphQL syntax with the default configuration
source§impl From<FragmentDefinition> for Definition
 
impl From<FragmentDefinition> for Definition
source§fn from(def: FragmentDefinition) -> Self
 
fn from(def: FragmentDefinition) -> Self
Converts to this type from the input type.
source§impl Hash for FragmentDefinition
 
impl Hash for FragmentDefinition
source§impl PartialEq for FragmentDefinition
 
impl PartialEq for FragmentDefinition
source§fn eq(&self, other: &FragmentDefinition) -> bool
 
fn eq(&self, other: &FragmentDefinition) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for FragmentDefinition
impl StructuralEq for FragmentDefinition
impl StructuralPartialEq for FragmentDefinition
Auto Trait Implementations§
impl RefUnwindSafe for FragmentDefinition
impl Send for FragmentDefinition
impl Sync for FragmentDefinition
impl Unpin for FragmentDefinition
impl UnwindSafe for FragmentDefinition
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.