pub struct NamedType {
    pub name: Option<String>,
}Expand description
A named type
Fields§
§name: Option<String>The name of the named type. This shouldn’t be null
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NamedType
 
impl<'de> Deserialize<'de> for NamedType
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
Source§impl QueryFragment for NamedType
 
impl QueryFragment for NamedType
Source§type SchemaType = __Type
 
type SchemaType = __Type
The type in a schema that this 
QueryFragment representsSource§type VariablesFields = ()
 
type VariablesFields = ()
The variables that are required to execute this 
QueryFragmentSource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
 
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
Adds this fragment to the query being built by 
builderAuto Trait Implementations§
impl Freeze for NamedType
impl RefUnwindSafe for NamedType
impl Send for NamedType
impl Sync for NamedType
impl Unpin for NamedType
impl UnwindSafe for NamedType
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