Struct graphql_parser::query::VariableDefinition [−][src]
pub struct VariableDefinition {
pub position: Pos,
pub name: Name,
pub var_type: Type,
pub default_value: Option<Value>,
}Fields
position: Pos
name: Name
var_type: Type
default_value: Option<Value>
Trait Implementations
impl Debug for VariableDefinition[src]
impl Debug for VariableDefinitionfn 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 VariableDefinition[src]
impl Clone for VariableDefinitionfn clone(&self) -> VariableDefinition[src]
fn clone(&self) -> VariableDefinitionReturns 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 VariableDefinition[src]
impl PartialEq for VariableDefinitionfn eq(&self, other: &VariableDefinition) -> bool[src]
fn eq(&self, other: &VariableDefinition) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VariableDefinition) -> bool[src]
fn ne(&self, other: &VariableDefinition) -> boolThis method tests for !=.
impl Display for VariableDefinition[src]
impl Display for VariableDefinitionAuto Trait Implementations
impl Send for VariableDefinition
impl Send for VariableDefinitionimpl Sync for VariableDefinition
impl Sync for VariableDefinition