Struct graphql_parser::query::Directive
source · pub struct Directive<'a, T: Text<'a>> {
pub position: Pos,
pub name: T::Value,
pub arguments: Vec<(T::Value, Value<'a, T>)>,
}
Fields§
§position: Pos
§name: T::Value
§arguments: Vec<(T::Value, Value<'a, T>)>
Trait Implementations§
source§impl<'a, T: PartialEq + Text<'a>> PartialEq for Directive<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq for Directive<'a, T>where T::Value: PartialEq,
impl<'a, T: Text<'a>> StructuralPartialEq for Directive<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for Directive<'a, T>where <T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for Directive<'a, T>where <T as Text<'a>>::Value: Send,
impl<'a, T> Sync for Directive<'a, T>where <T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for Directive<'a, T>where <T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for Directive<'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