pub struct QueryMatch {
pub query_def: QueryDefinition,
pub fields: Vec<String>,
pub selections: Vec<FieldSelection>,
pub arguments: HashMap<String, Value>,
pub operation_name: Option<String>,
pub parsed_query: ParsedQuery,
}Expand description
A matched query with extracted information.
Fields§
§query_def: QueryDefinitionThe matched query definition from compiled schema.
fields: Vec<String>Requested fields (selection set) - now includes full field info.
selections: Vec<FieldSelection>Parsed and processed field selections (after fragment/directive resolution).
arguments: HashMap<String, Value>Query arguments/variables.
operation_name: Option<String>Query operation name (if provided).
parsed_query: ParsedQueryThe parsed query (for access to fragments, variables, etc.).
Trait Implementations§
Source§impl Clone for QueryMatch
impl Clone for QueryMatch
Source§fn clone(&self) -> QueryMatch
fn clone(&self) -> QueryMatch
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for QueryMatch
impl RefUnwindSafe for QueryMatch
impl Send for QueryMatch
impl Sync for QueryMatch
impl Unpin for QueryMatch
impl UnsafeUnpin for QueryMatch
impl UnwindSafe for QueryMatch
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