pub struct QueryExplain {
pub collections: Vec<CollectionAccess>,
pub let_bindings: Vec<LetBinding>,
pub filters: Vec<FilterInfo>,
pub sort: Option<SortInfo>,
pub limit: Option<LimitInfo>,
pub timing: ExecutionTiming,
pub documents_scanned: usize,
pub documents_returned: usize,
pub warnings: Vec<String>,
}Expand description
Query execution plan with timing information
Fields§
§collections: Vec<CollectionAccess>Collections accessed by the query
let_bindings: Vec<LetBinding>LET clause bindings
filters: Vec<FilterInfo>Filter conditions analyzed
sort: Option<SortInfo>Sort information
limit: Option<LimitInfo>Limit information
timing: ExecutionTimingExecution timing for each step (in microseconds)
documents_scanned: usizeTotal documents scanned
documents_returned: usizeTotal documents returned
warnings: Vec<String>Warnings or suggestions
Trait Implementations§
Source§impl Clone for QueryExplain
impl Clone for QueryExplain
Source§fn clone(&self) -> QueryExplain
fn clone(&self) -> QueryExplain
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 moreSource§impl Debug for QueryExplain
impl Debug for QueryExplain
Source§impl<'de> Deserialize<'de> for QueryExplain
impl<'de> Deserialize<'de> for QueryExplain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueryExplain
impl RefUnwindSafe for QueryExplain
impl Send for QueryExplain
impl Sync for QueryExplain
impl Unpin for QueryExplain
impl UnsafeUnpin for QueryExplain
impl UnwindSafe for QueryExplain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more