Enum graphql_tools::static_graphql::schema::Type
source · [−]pub enum Type<'a, T> where
T: Text<'a>, {
NamedType(<T as Text<'a>>::Value),
ListType(Box<Type<'a, T>, Global>),
NonNullType(Box<Type<'a, T>, Global>),
}
Variants
NamedType(<T as Text<'a>>::Value)
ListType(Box<Type<'a, T>, Global>)
NonNullType(Box<Type<'a, T>, Global>)
Trait Implementations
sourceimpl<'a, T> PartialEq<Type<'a, T>> for Type<'a, T> where
T: PartialEq<T> + Text<'a>,
<T as Text<'a>>::Value: PartialEq<<T as Text<'a>>::Value>,
impl<'a, T> PartialEq<Type<'a, T>> for Type<'a, T> where
T: PartialEq<T> + Text<'a>,
<T as Text<'a>>::Value: PartialEq<<T as Text<'a>>::Value>,
impl<'a, T> StructuralPartialEq for Type<'a, T> where
T: Text<'a>,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Type<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for Type<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for Type<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for Type<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for Type<'a, T> where
<T as Text<'a>>::Value: UnwindSafe,
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