Struct async_graphql::resolver_utils::Fields
source · pub struct Fields<'a>(/* private fields */);
Expand description
A set of fields on an container that are being selected.
Implementations§
source§impl<'a> Fields<'a>
impl<'a> Fields<'a>
sourcepub fn add_set<T: ContainerType + ?Sized>(
&mut self,
ctx: &ContextSelectionSet<'a>,
root: &'a T,
) -> ServerResult<()>
pub fn add_set<T: ContainerType + ?Sized>( &mut self, ctx: &ContextSelectionSet<'a>, root: &'a T, ) -> ServerResult<()>
Add another set of fields to this set of fields using the given container.
Auto Trait Implementations§
impl<'a> Freeze for Fields<'a>
impl<'a> !RefUnwindSafe for Fields<'a>
impl<'a> Send for Fields<'a>
impl<'a> !Sync for Fields<'a>
impl<'a> Unpin for Fields<'a>
impl<'a> !UnwindSafe for Fields<'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