pub struct Type {
pub name: Option<String>,
pub kind: TypeKind,
pub description: Option<String>,
pub fields: Option<Vec<Field>>,
pub interfaces: Option<Vec<TypeRef>>,
pub possible_types: Option<Vec<TypeRef>>,
pub enum_values: Option<Vec<EnumValue>>,
pub input_fields: Option<Vec<InputValue>>,
pub of_type: Option<Box<TypeRef>>,
}
Fields§
§name: Option<String>
§kind: TypeKind
§description: Option<String>
§fields: Option<Vec<Field>>
§interfaces: Option<Vec<TypeRef>>
§possible_types: Option<Vec<TypeRef>>
§enum_values: Option<Vec<EnumValue>>
§input_fields: Option<Vec<InputValue>>
§of_type: Option<Box<TypeRef>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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