pub struct FieldSelection<'a>(/* private fields */);
Implementations§
Source§impl<'a> FieldSelection<'a>
impl<'a> FieldSelection<'a>
pub fn alias(&self) -> Option<&'a str>
pub fn alias_span(&self) -> Option<Span>
pub fn name(&self) -> &'a str
pub fn name_span(&self) -> Span
pub fn arguments(&self) -> Iter<'a, Argument<'a>> ⓘ
pub fn directives(&self) -> Iter<'a, Directive<'a>> ⓘ
pub fn selection_set(&self) -> Iter<'a, Selection<'a>> ⓘ
pub fn selection_set_span(&self) -> Option<Span>
Source§impl FieldSelection<'_>
impl FieldSelection<'_>
pub fn id(&self) -> FieldSelectionId
Trait Implementations§
Source§impl<'a> Clone for FieldSelection<'a>
impl<'a> Clone for FieldSelection<'a>
Source§fn clone(&self) -> FieldSelection<'a>
fn clone(&self) -> FieldSelection<'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 Debug for FieldSelection<'_>
impl Debug for FieldSelection<'_>
Source§impl IdReader for FieldSelection<'_>
impl IdReader for FieldSelection<'_>
type Id = FieldSelectionId
type Reader<'a> = FieldSelection<'a>
fn new(id: Self::Id, document: &ExecutableDocument) -> Self::Reader<'_>
impl<'a> Copy for FieldSelection<'a>
Auto Trait Implementations§
impl<'a> Freeze for FieldSelection<'a>
impl<'a> RefUnwindSafe for FieldSelection<'a>
impl<'a> Send for FieldSelection<'a>
impl<'a> Sync for FieldSelection<'a>
impl<'a> Unpin for FieldSelection<'a>
impl<'a> UnwindSafe for FieldSelection<'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