Enum juniper::executor::LookAheadValue
source · pub enum LookAheadValue<'a, S: 'a> {
Null,
Scalar(&'a S),
Enum(&'a str),
List(Vec<LookAheadValue<'a, S>>),
Object(Vec<(&'a str, LookAheadValue<'a, S>)>),
}
Expand description
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
Scalar(&'a S)
Enum(&'a str)
List(Vec<LookAheadValue<'a, S>>)
Object(Vec<(&'a str, LookAheadValue<'a, S>)>)
Trait Implementations§
source§impl<'a, S: Clone + 'a> Clone for LookAheadValue<'a, S>
impl<'a, S: Clone + 'a> Clone for LookAheadValue<'a, S>
source§fn clone(&self) -> LookAheadValue<'a, S>
fn clone(&self) -> LookAheadValue<'a, S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, S: Debug + 'a> Debug for LookAheadValue<'a, S>
impl<'a, S: Debug + 'a> Debug for LookAheadValue<'a, S>
source§impl<'a, S: PartialEq + 'a> PartialEq<LookAheadValue<'a, S>> for LookAheadValue<'a, S>
impl<'a, S: PartialEq + 'a> PartialEq<LookAheadValue<'a, S>> for LookAheadValue<'a, S>
source§fn eq(&self, other: &LookAheadValue<'a, S>) -> bool
fn eq(&self, other: &LookAheadValue<'a, S>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.