Enum juniper::LookAheadValue [−][src]
pub enum LookAheadValue<'a> { Null, Int(i32), Float(f64), String(&'a str), Boolean(bool), Enum(&'a str), List(Vec<LookAheadValue<'a>>), Object(Vec<(&'a str, LookAheadValue<'a>)>), }
A JSON-like value that can is used as argument in the query execution
In contrast to InputValue
these values do only contain constants,
meaning that variables are already resolved.
Variants
Null
Int(i32)
Float(f64)
String(&'a str)
Boolean(bool)
Enum(&'a str)
List(Vec<LookAheadValue<'a>>)
Object(Vec<(&'a str, LookAheadValue<'a>)>)
Trait Implementations
impl<'a> Debug for LookAheadValue<'a>
[src]
impl<'a> Debug for LookAheadValue<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Clone for LookAheadValue<'a>
[src]
impl<'a> Clone for LookAheadValue<'a>
fn clone(&self) -> LookAheadValue<'a>
[src]
fn clone(&self) -> LookAheadValue<'a>
Returns 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<'a> PartialEq for LookAheadValue<'a>
[src]
impl<'a> PartialEq for LookAheadValue<'a>
fn eq(&self, other: &LookAheadValue<'a>) -> bool
[src]
fn eq(&self, other: &LookAheadValue<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LookAheadValue<'a>) -> bool
[src]
fn ne(&self, other: &LookAheadValue<'a>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'a> Send for LookAheadValue<'a>
impl<'a> Send for LookAheadValue<'a>
impl<'a> Sync for LookAheadValue<'a>
impl<'a> Sync for LookAheadValue<'a>