Struct async_graphql::context::SelectionField
source · [−]pub struct SelectionField<'a> { /* private fields */ }
Expand description
Selection field.
Implementations
sourceimpl<'a> SelectionField<'a>
impl<'a> SelectionField<'a>
sourcepub fn selection_set(&self) -> impl Iterator<Item = SelectionField<'a>>
pub fn selection_set(&self) -> impl Iterator<Item = SelectionField<'a>>
Get all subfields of the current selection set.
Trait Implementations
sourceimpl<'a> Clone for SelectionField<'a>
impl<'a> Clone for SelectionField<'a>
sourcefn clone(&self) -> SelectionField<'a>
fn clone(&self) -> SelectionField<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for SelectionField<'a>
impl<'a> Debug for SelectionField<'a>
sourceimpl<'a> From<SelectionField<'a>> for Lookahead<'a>
impl<'a> From<SelectionField<'a>> for Lookahead<'a>
sourcefn from(selection_field: SelectionField<'a>) -> Self
fn from(selection_field: SelectionField<'a>) -> Self
Converts to this type from the input type.
impl<'a> Copy for SelectionField<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SelectionField<'a>
impl<'a> Send for SelectionField<'a>
impl<'a> Sync for SelectionField<'a>
impl<'a> Unpin for SelectionField<'a>
impl<'a> !UnwindSafe for SelectionField<'a>
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