Struct graphql_parser::schema::SchemaDefinition [−][src]
pub struct SchemaDefinition {
pub position: Pos,
pub directives: Vec<Directive>,
pub query: Option<NamedType>,
pub mutation: Option<NamedType>,
pub subscription: Option<NamedType>,
}Fields
position: Pos
directives: Vec<Directive>
query: Option<NamedType>
mutation: Option<NamedType>
subscription: Option<NamedType>
Trait Implementations
impl Debug for SchemaDefinition[src]
impl Debug for SchemaDefinitionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for SchemaDefinition[src]
impl Clone for SchemaDefinitionfn clone(&self) -> SchemaDefinition[src]
fn clone(&self) -> SchemaDefinitionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for SchemaDefinition[src]
impl Default for SchemaDefinitionfn default() -> SchemaDefinition[src]
fn default() -> SchemaDefinitionReturns the "default value" for a type. Read more
impl PartialEq for SchemaDefinition[src]
impl PartialEq for SchemaDefinitionfn eq(&self, other: &SchemaDefinition) -> bool[src]
fn eq(&self, other: &SchemaDefinition) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SchemaDefinition) -> bool[src]
fn ne(&self, other: &SchemaDefinition) -> boolThis method tests for !=.
impl Display for SchemaDefinition[src]
impl Display for SchemaDefinitionAuto Trait Implementations
impl Send for SchemaDefinition
impl Send for SchemaDefinitionimpl Sync for SchemaDefinition
impl Sync for SchemaDefinition