pub enum LookAheadValue<'a, S: ScalarValue + 'a> {
Null,
Scalar(&'a S),
Enum(&'a str),
List(LookAheadList<'a, S>),
Object(LookAheadObject<'a, S>),
}
Expand description
JSON-like value performing look-ahead operations on an executed GraphQL query.
In contrast to an InputValue
, these values do only contain constants, meaning that GraphQL
variables get automatically resolved.
Variants§
Trait Implementations§
Source§impl<'a, S: Clone + ScalarValue + 'a> Clone for LookAheadValue<'a, S>
impl<'a, S: Clone + ScalarValue + '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 + ScalarValue + 'a> Debug for LookAheadValue<'a, S>
impl<'a, S: Debug + ScalarValue + 'a> Debug for LookAheadValue<'a, S>
Source§impl<'a, S: PartialEq + ScalarValue + 'a> PartialEq for LookAheadValue<'a, S>
impl<'a, S: PartialEq + ScalarValue + 'a> PartialEq for LookAheadValue<'a, S>
impl<'a, S: ScalarValue + 'a> Copy for LookAheadValue<'a, S>where
Self: Clone,
impl<'a, S: ScalarValue + 'a> StructuralPartialEq for LookAheadValue<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for LookAheadValue<'a, S>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more