Enum async_graphql::context::QueryPathSegment
source · 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.
Name(&'a str)
We are currently resolving a field in an object.
Trait Implementations§
source§impl<'a> Clone for QueryPathSegment<'a>
impl<'a> Clone for QueryPathSegment<'a>
source§fn clone(&self) -> QueryPathSegment<'a>
fn clone(&self) -> QueryPathSegment<'a>
Returns a copy 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 more