pub struct FieldSelection<'schema> { /* private fields */ }Implementations§
Source§impl<'schema> FieldSelection<'schema>
impl<'schema> FieldSelection<'schema>
pub fn alias(&self) -> &Option<String>
pub fn arguments(&self) -> &IndexMap<String, Value>
pub fn def_location(&self) -> &SourceLocation
pub fn directives(&self) -> &Vec<DirectiveAnnotation>
pub fn field(&self) -> &'schema Field
pub fn selection_set(&self) -> Option<&SelectionSet<'schema>>
Trait Implementations§
Source§impl<'schema> Clone for FieldSelection<'schema>
impl<'schema> Clone for FieldSelection<'schema>
Source§fn clone(&self) -> FieldSelection<'schema>
fn clone(&self) -> FieldSelection<'schema>
Returns a duplicate 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<'schema> Debug for FieldSelection<'schema>
impl<'schema> Debug for FieldSelection<'schema>
Source§impl<'schema> PartialEq for FieldSelection<'schema>
impl<'schema> PartialEq for FieldSelection<'schema>
impl<'schema> StructuralPartialEq for FieldSelection<'schema>
Auto Trait Implementations§
impl<'schema> Freeze for FieldSelection<'schema>
impl<'schema> RefUnwindSafe for FieldSelection<'schema>
impl<'schema> Send for FieldSelection<'schema>
impl<'schema> Sync for FieldSelection<'schema>
impl<'schema> Unpin for FieldSelection<'schema>
impl<'schema> UnwindSafe for FieldSelection<'schema>
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