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
Converts to this type from the input type.
sourceimpl From<OperationDef> for String
impl From<OperationDef> for String
sourcefn from(op_def: OperationDef) -> Self
fn from(op_def: OperationDef) -> Self
Converts to this type from the input type.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more