Struct graphql_tools::static_graphql::query::VariableDefinition [−][src]
pub struct VariableDefinition<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub name: <T as Text<'a>>::Value,
pub var_type: Type<'a, T>,
pub default_value: Option<Value<'a, T>>,
}Fields
position: Posname: <T as Text<'a>>::Valuevar_type: Type<'a, T>default_value: Option<Value<'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 VariableDefinition<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for VariableDefinition<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for VariableDefinition<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for VariableDefinition<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for VariableDefinition<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
