Enum async_graphql::context::QueryPathSegment [−][src]
Expand description
A segment in the path to the current query.
This is a borrowed form of PathSegment used during execution instead
of passed back when errors occur.
Variants
Index(usize)We are currently resolving an element in a list.
Tuple Fields of Index
0: usizeName(&'a str)We are currently resolving a field in an object.
Tuple Fields of Name
0: &'a strTrait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for QueryPathSegment<'a>
impl<'a> Send for QueryPathSegment<'a>
impl<'a> Sync for QueryPathSegment<'a>
impl<'a> Unpin for QueryPathSegment<'a>
impl<'a> UnwindSafe for QueryPathSegment<'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