Struct graphql_parser::query::Field
source · pub struct Field<'a, T: Text<'a>> {
pub position: Pos,
pub alias: Option<T::Value>,
pub name: T::Value,
pub arguments: Vec<(T::Value, Value<'a, T>)>,
pub directives: Vec<Directive<'a, T>>,
pub selection_set: SelectionSet<'a, T>,
}
Fields§
§position: Pos
§alias: Option<T::Value>
§name: T::Value
§arguments: Vec<(T::Value, Value<'a, T>)>
§directives: Vec<Directive<'a, T>>
§selection_set: SelectionSet<'a, T>
Trait Implementations§
source§impl<'a, T: PartialEq + Text<'a>> PartialEq for Field<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq for Field<'a, T>where T::Value: PartialEq,
impl<'a, T: Text<'a>> StructuralPartialEq for Field<'a, T>
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,
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