pub struct SelectionSet<'schema> { /* private fields */ }Implementations§
Source§impl<'schema> SelectionSet<'schema>
impl<'schema> SelectionSet<'schema>
pub fn builder<'fragreg>( schema: &'schema Schema, fragment_registry: &'fragreg FragmentRegistry<'schema>, ) -> SelectionSetBuilder<'schema, 'fragreg>
pub fn selected_fields( &'schema self, fragment_registry: &'schema FragmentRegistry<'schema>, ) -> Box<dyn Iterator<Item = &'schema FieldSelection<'schema>> + 'schema>
pub fn selections(&self) -> &Vec<Selection<'schema>>
Trait Implementations§
Source§impl<'schema> Clone for SelectionSet<'schema>
impl<'schema> Clone for SelectionSet<'schema>
Source§fn clone(&self) -> SelectionSet<'schema>
fn clone(&self) -> SelectionSet<'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 SelectionSet<'schema>
impl<'schema> Debug for SelectionSet<'schema>
Source§impl<'schema> PartialEq for SelectionSet<'schema>
impl<'schema> PartialEq for SelectionSet<'schema>
impl<'schema> StructuralPartialEq for SelectionSet<'schema>
Auto Trait Implementations§
impl<'schema> Freeze for SelectionSet<'schema>
impl<'schema> RefUnwindSafe for SelectionSet<'schema>
impl<'schema> Send for SelectionSet<'schema>
impl<'schema> Sync for SelectionSet<'schema>
impl<'schema> Unpin for SelectionSet<'schema>
impl<'schema> UnwindSafe for SelectionSet<'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