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
pub 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> !UnwindSafe for Fields<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
