Enum juniper::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
sourceimpl<'a, S: Clone + 'a> Clone for LookAheadValue<'a, S>
impl<'a, S: Clone + 'a> Clone for LookAheadValue<'a, S>
sourcefn clone(&self) -> LookAheadValue<'a, S>
fn clone(&self) -> LookAheadValue<'a, S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a, S: Debug + 'a> Debug for LookAheadValue<'a, S>
impl<'a, S: Debug + 'a> Debug for LookAheadValue<'a, S>
sourceimpl<'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>
sourcefn eq(&self, other: &LookAheadValue<'a, S>) -> bool
fn eq(&self, other: &LookAheadValue<'a, S>) -> bool
impl<'a, S: 'a> StructuralPartialEq for LookAheadValue<'a, S>
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for LookAheadValue<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for LookAheadValue<'a, S>where
S: Sync,
impl<'a, S> Sync for LookAheadValue<'a, S>where
S: Sync,
impl<'a, S> Unpin for LookAheadValue<'a, S>
impl<'a, S> UnwindSafe for LookAheadValue<'a, S>where
S: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more