Enum graphql_tools::static_graphql::schema::TypeExtension
source · pub enum TypeExtension<'a, T>where
T: Text<'a>,{
Scalar(ScalarTypeExtension<'a, T>),
Object(ObjectTypeExtension<'a, T>),
Interface(InterfaceTypeExtension<'a, T>),
Union(UnionTypeExtension<'a, T>),
Enum(EnumTypeExtension<'a, T>),
InputObject(InputObjectTypeExtension<'a, T>),
}Variants§
Scalar(ScalarTypeExtension<'a, T>)
Object(ObjectTypeExtension<'a, T>)
Interface(InterfaceTypeExtension<'a, T>)
Union(UnionTypeExtension<'a, T>)
Enum(EnumTypeExtension<'a, T>)
InputObject(InputObjectTypeExtension<'a, T>)
Trait Implementations§
source§impl<'a, T> Clone for TypeExtension<'a, T>
impl<'a, T> Clone for TypeExtension<'a, T>
source§fn clone(&self) -> TypeExtension<'a, T>
fn clone(&self) -> TypeExtension<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a, T> Debug for TypeExtension<'a, T>
impl<'a, T> Debug for TypeExtension<'a, T>
source§impl<'a, T> Display for TypeExtension<'a, T>where
T: Text<'a>,
impl<'a, T> Display for TypeExtension<'a, T>where
T: Text<'a>,
source§impl<'a, T> PartialEq for TypeExtension<'a, T>
impl<'a, T> PartialEq for TypeExtension<'a, T>
source§fn eq(&self, other: &TypeExtension<'a, T>) -> bool
fn eq(&self, other: &TypeExtension<'a, T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a, T> StructuralPartialEq for TypeExtension<'a, T>where
T: Text<'a>,
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for TypeExtension<'a, T>
impl<'a, T> Send for TypeExtension<'a, T>
impl<'a, T> Sync for TypeExtension<'a, T>
impl<'a, T> Unpin for TypeExtension<'a, T>
impl<'a, T> UnwindSafe for TypeExtension<'a, T>
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