pub struct Operation<'a, S> {
pub operation_type: OperationType,
pub name: Option<Spanning<&'a str>>,
pub variable_definitions: Option<Spanning<VariableDefinitions<'a, S>>>,
pub directives: Option<Vec<Spanning<Directive<'a, S>>>>,
pub selection_set: Vec<Selection<'a, S>>,
}
Fields
operation_type: OperationType
name: Option<Spanning<&'a str>>
variable_definitions: Option<Spanning<VariableDefinitions<'a, S>>>
directives: Option<Vec<Spanning<Directive<'a, S>>>>
selection_set: Vec<Selection<'a, S>>
Trait Implementations
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for Operation<'a, S> where
S: RefUnwindSafe,
impl<'a, S> UnwindSafe for Operation<'a, S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more