pub enum Type {
    Object(ObjectType),
    InputObject(InputObjectType),
    Enum(EnumType),
    Interface(InterfaceType),
    Union(UnionType),
    Scalar(ScalarType),
}Expand description
A type defined in a Schema
Variants§
Object(ObjectType)
The type is an ObjectType
InputObject(InputObjectType)
The type is an InputObjectType
Enum(EnumType)
The type is an EnumType
Interface(InterfaceType)
The type is an InterfaceType
Union(UnionType)
The type is a UnionType
Scalar(ScalarType)
The type is a Scalar
Implementations§
Trait Implementations§
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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