Struct graphql_tools::static_graphql::schema::Field
source · [−]pub struct Field<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub description: Option<String>,
pub name: <T as Text<'a>>::Value,
pub arguments: Vec<InputValue<'a, T>, Global>,
pub field_type: Type<'a, T>,
pub directives: Vec<Directive<'a, T>, Global>,
}
Fields
position: Pos
description: Option<String>
name: <T as Text<'a>>::Value
arguments: Vec<InputValue<'a, T>, Global>
field_type: Type<'a, T>
directives: Vec<Directive<'a, T>, Global>
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