Struct async_graphql::resolver_utils::Fields
source · [−]pub struct Fields<'a>(_);
Expand description
A set of fields on an container that are being selected.
Implementations
sourceimpl<'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> !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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more