Enum graphql_parser::schema::Value [−][src]
pub enum Value {
Variable(Name),
Int(Number),
Float(f64),
String(String),
Boolean(bool),
Null,
Enum(Name),
List(Vec<Value>),
Object(BTreeMap<Name, Value>),
}Variants
Variable(Name)Int(Number)Float(f64)String(String)Boolean(bool)NullEnum(Name)List(Vec<Value>)Object(BTreeMap<Name, Value>)
Trait Implementations
impl Debug for Value[src]
impl Debug for Valuefn 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 Value[src]
impl Clone for Valuefn clone(&self) -> Value[src]
fn clone(&self) -> ValueReturns 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 Value[src]
impl PartialEq for Valuefn eq(&self, other: &Value) -> bool[src]
fn eq(&self, other: &Value) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Value) -> bool[src]
fn ne(&self, other: &Value) -> boolThis method tests for !=.
impl Display for Value[src]
impl Display for Value