Enum cynic_introspection::Type
source · 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§
source§impl PartialEq for Type
impl PartialEq for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
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