Struct async_graphql::context::SelectionField
source · pub struct SelectionField<'a> { /* private fields */ }
Expand description
Selection field.
Implementations§
source§impl<'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§
source§impl<'a> Clone for SelectionField<'a>
impl<'a> Clone for SelectionField<'a>
source§fn clone(&self) -> SelectionField<'a>
fn clone(&self) -> SelectionField<'a>
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> Debug for SelectionField<'a>
impl<'a> Debug for SelectionField<'a>
source§impl<'a> From<SelectionField<'a>> for Lookahead<'a>
impl<'a> From<SelectionField<'a>> for Lookahead<'a>
source§fn 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> Freeze for SelectionField<'a>
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§
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)