Struct apollo_smith::OperationDef
source · [−]pub struct OperationDef { /* private fields */ }Expand description
The __operationDef type represents an operation definition
OperationDefinition: OperationType Name? VariableDefinitions? Directives? SelectionSet
Detailed documentation can be found in GraphQL spec.
Trait Implementations
sourceimpl Debug for OperationDef
impl Debug for OperationDef
sourceimpl From<OperationDef> for OperationDefinition
impl From<OperationDef> for OperationDefinition
sourcefn from(op_def: OperationDef) -> Self
fn from(op_def: OperationDef) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OperationDef
impl Send for OperationDef
impl Sync for OperationDef
impl Unpin for OperationDef
impl UnwindSafe for OperationDef
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