pub struct ParsedQuery {
pub search: SearchRequest,
pub aggregate: Option<AggregateRequest>,
pub order_by: Vec<(String, bool)>,
}Expand description
Full query document lowered onto the execution model. Also exposes whether the query is a listing (no groupBy) or aggregate (groupBy or select with metrics).
Fields§
§search: SearchRequestRecords-perspective request built from labels/where/pagination.
aggregate: Option<AggregateRequest>Aggregate request when the document carries a select or groupBy.
order_by: Vec<(String, bool)>Parsed orderBy pairs shared by the listing and aggregate paths.
Auto Trait Implementations§
impl Freeze for ParsedQuery
impl RefUnwindSafe for ParsedQuery
impl Send for ParsedQuery
impl Sync for ParsedQuery
impl Unpin for ParsedQuery
impl UnsafeUnpin for ParsedQuery
impl UnwindSafe for ParsedQuery
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