Struct graphql_tools::static_graphql::query::Field
source · [−]pub struct Field<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub alias: Option<<T as Text<'a>>::Value>,
pub name: <T as Text<'a>>::Value,
pub arguments: Vec<(<T as Text<'a>>::Value, Value<'a, T>), Global>,
pub directives: Vec<Directive<'a, T>, Global>,
pub selection_set: SelectionSet<'a, T>,
}
Fields
position: Pos
alias: Option<<T as Text<'a>>::Value>
name: <T as Text<'a>>::Value
arguments: Vec<(<T as Text<'a>>::Value, Value<'a, T>), Global>
directives: Vec<Directive<'a, T>, Global>
selection_set: SelectionSet<'a, T>
Trait Implementations
sourceimpl<'a, T> PartialEq<Field<'a, T>> for Field<'a, T> where
T: PartialEq<T> + Text<'a>,
<T as Text<'a>>::Value: PartialEq<<T as Text<'a>>::Value>,
impl<'a, T> PartialEq<Field<'a, T>> for Field<'a, T> where
T: PartialEq<T> + Text<'a>,
<T as Text<'a>>::Value: PartialEq<<T as Text<'a>>::Value>,
impl<'a, T> StructuralPartialEq for Field<'a, T> where
T: Text<'a>,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Field<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for Field<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for Field<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for Field<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for Field<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more