Struct apollo_smith::FragmentDef
source · pub struct FragmentDef { /* private fields */ }
Expand description
The __fragmentDef type represents a fragment definition
FragmentDefinition: fragment FragmentName TypeCondition Directives? SelectionSet
Detailed documentation can be found in GraphQL spec.
Trait Implementations§
source§impl Clone for FragmentDef
impl Clone for FragmentDef
source§fn clone(&self) -> FragmentDef
fn clone(&self) -> FragmentDef
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 FragmentDef
impl Debug for FragmentDef
source§impl From<FragmentDef> for FragmentDefinition
impl From<FragmentDef> for FragmentDefinition
source§fn from(frag_def: FragmentDef) -> Self
fn from(frag_def: FragmentDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FragmentDef
impl Send for FragmentDef
impl Sync for FragmentDef
impl Unpin for FragmentDef
impl UnwindSafe for FragmentDef
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