Enum graphql_parser::query::Definition [−][src]
pub enum Definition {
Operation(OperationDefinition),
Fragment(FragmentDefinition),
}Variants
Operation(OperationDefinition)Fragment(FragmentDefinition)
Trait Implementations
impl Debug for Definition[src]
impl Debug for Definitionfn 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 Definition[src]
impl Clone for Definitionfn clone(&self) -> Definition[src]
fn clone(&self) -> DefinitionReturns 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 PartialEq for Definition[src]
impl PartialEq for Definitionfn eq(&self, other: &Definition) -> bool[src]
fn eq(&self, other: &Definition) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Definition) -> bool[src]
fn ne(&self, other: &Definition) -> boolThis method tests for !=.
impl Display for Definition[src]
impl Display for DefinitionAuto Trait Implementations
impl Send for Definition
impl Send for Definitionimpl Sync for Definition
impl Sync for Definition