pub struct LookAheadSelection<'a, S> { /* private fields */ }
Expand description
Selection of an executed GraphQL query, used in look-ahead operations.
Implementations§
Source§impl<'a, S> LookAheadSelection<'a, S>
impl<'a, S> LookAheadSelection<'a, S>
Sourcepub fn field_original_name(&self) -> &'a str
pub fn field_original_name(&self) -> &'a str
Sourcepub fn field_alias(&self) -> Option<&'a str>
pub fn field_alias(&self) -> Option<&'a str>
Sourcepub fn field_name(&self) -> &'a str
pub fn field_name(&self) -> &'a str
Sourcepub fn has_arguments(&self) -> bool
pub fn has_arguments(&self) -> bool
Sourcepub fn arguments(
&self,
) -> impl DoubleEndedIterator<Item = LookAheadArgument<'a, S>>
pub fn arguments( &self, ) -> impl DoubleEndedIterator<Item = LookAheadArgument<'a, S>>
Sourcepub fn argument(&self, name: &str) -> Option<LookAheadArgument<'a, S>>
pub fn argument(&self, name: &str) -> Option<LookAheadArgument<'a, S>>
Sourcepub fn children(&self) -> LookAheadChildren<'a, S>where
S: ScalarValue,
pub fn children(&self) -> LookAheadChildren<'a, S>where
S: ScalarValue,
Returns the children from the current selection.
Sourcepub fn children_for_explicit_type(
&self,
type_name: &str,
) -> LookAheadChildren<'a, S>where
S: ScalarValue,
pub fn children_for_explicit_type(
&self,
type_name: &str,
) -> LookAheadChildren<'a, S>where
S: ScalarValue,
Trait Implementations§
Source§impl<'a, S> Clone for LookAheadSelection<'a, S>
impl<'a, S> Clone for LookAheadSelection<'a, S>
Source§impl<'a, S: Debug> Debug for LookAheadSelection<'a, S>
impl<'a, S: Debug> Debug for LookAheadSelection<'a, S>
impl<'a, S> Copy for LookAheadSelection<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for LookAheadSelection<'a, S>
impl<'a, S> RefUnwindSafe for LookAheadSelection<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for LookAheadSelection<'a, S>where
S: Sync,
impl<'a, S> Sync for LookAheadSelection<'a, S>where
S: Sync,
impl<'a, S> Unpin for LookAheadSelection<'a, S>
impl<'a, S> UnwindSafe for LookAheadSelection<'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