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§
source§impl Clone for OperationDef
impl Clone for OperationDef
source§fn clone(&self) -> OperationDef
fn clone(&self) -> OperationDef
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 OperationDef
impl Debug for OperationDef
source§impl From<OperationDef> for Definition
impl From<OperationDef> for Definition
source§fn from(x: OperationDef) -> Self
fn from(x: OperationDef) -> Self
Converts to this type from the input type.
source§impl From<OperationDef> for String
impl From<OperationDef> for String
source§fn from(op_def: OperationDef) -> Self
fn from(op_def: OperationDef) -> Self
Converts to this type from the input type.
source§impl TryFrom<OperationDefinition> for OperationDef
impl TryFrom<OperationDefinition> for OperationDef
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§
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