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
sourceimpl Debug for FragmentDef
impl Debug for FragmentDef
sourceimpl From<FragmentDef> for FragmentDefinition
impl From<FragmentDef> for FragmentDefinition
sourcefn from(frag_def: FragmentDef) -> Self
fn from(frag_def: FragmentDef) -> Self
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more