pub struct OperationDefinition<'a> {
pub description: Option<StringValue<'a>>,
pub operation_type: OperationType,
pub name: Option<Name<'a>>,
pub variable_definitions: AstVec<'a, VariableDefinition<'a>>,
pub directives: AstVec<'a, Directive<'a>>,
pub selection_set: Option<SelectionSet<'a>>,
pub span: Span,
}Fields§
§description: Option<StringValue<'a>>§operation_type: OperationType§name: Option<Name<'a>>§variable_definitions: AstVec<'a, VariableDefinition<'a>>§directives: AstVec<'a, Directive<'a>>§selection_set: Option<SelectionSet<'a>>§span: SpanTrait Implementations§
Source§impl<'a> Debug for OperationDefinition<'a>
impl<'a> Debug for OperationDefinition<'a>
Source§impl<'a> PartialEq for OperationDefinition<'a>
impl<'a> PartialEq for OperationDefinition<'a>
Source§fn eq(&self, other: &OperationDefinition<'a>) -> bool
fn eq(&self, other: &OperationDefinition<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for OperationDefinition<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OperationDefinition<'a>
impl<'a> !Send for OperationDefinition<'a>
impl<'a> !Sync for OperationDefinition<'a>
impl<'a> !UnwindSafe for OperationDefinition<'a>
impl<'a> Freeze for OperationDefinition<'a>
impl<'a> Unpin for OperationDefinition<'a>
impl<'a> UnsafeUnpin for OperationDefinition<'a>
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