Struct graphql_tools::static_graphql::query::Subscription
source ·
[−]pub struct Subscription<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub name: Option<<T as Text<'a>>::Value>,
pub variable_definitions: Vec<VariableDefinition<'a, T>, Global>,
pub directives: Vec<Directive<'a, T>, Global>,
pub selection_set: SelectionSet<'a, T>,
}
Fields
position: Pos
name: Option<<T as Text<'a>>::Value>
variable_definitions: Vec<VariableDefinition<'a, T>, Global>
directives: Vec<Directive<'a, T>, Global>
selection_set: SelectionSet<'a, T>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Subscription<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for Subscription<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for Subscription<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for Subscription<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for Subscription<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more