pub struct FirestorePlanSummary {
pub indexes_used: Vec<FirestoreDynamicStruct>,
}Expand description
Re-exports all public items from the firestore_meta module.
This module provides metadata associated with Firestore documents, such as
create_time, update_time, and read_time. These are often included
in responses from Firestore.
A summary of the query plan used by Firestore to execute a query.
This is part of the FirestoreExplainMetrics and provides insights into
how Firestore satisfied the query, particularly which indexes were utilized.
Fields§
§indexes_used: Vec<FirestoreDynamicStruct>A list of indexes used to execute the query. Each index is represented
as a FirestoreDynamicStruct containing details about the index.
Implementations§
Source§impl FirestorePlanSummary
impl FirestorePlanSummary
pub fn new(indexes_used: Vec<FirestoreDynamicStruct>) -> Self
pub fn indexes_used(&mut self, value: Vec<FirestoreDynamicStruct>) -> &mut Self
pub fn with_indexes_used(self, value: Vec<FirestoreDynamicStruct>) -> Self
Trait Implementations§
Source§impl Clone for FirestorePlanSummary
impl Clone for FirestorePlanSummary
Source§fn clone(&self) -> FirestorePlanSummary
fn clone(&self) -> FirestorePlanSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FirestorePlanSummary
impl Debug for FirestorePlanSummary
Source§impl From<FirestorePlanSummaryInit> for FirestorePlanSummary
impl From<FirestorePlanSummaryInit> for FirestorePlanSummary
Source§fn from(value: FirestorePlanSummaryInit) -> Self
fn from(value: FirestorePlanSummaryInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FirestorePlanSummary
impl PartialEq for FirestorePlanSummary
impl StructuralPartialEq for FirestorePlanSummary
Source§impl TryFrom<PlanSummary> for FirestorePlanSummary
impl TryFrom<PlanSummary> for FirestorePlanSummary
Source§type Error = FirestoreError
type Error = FirestoreError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FirestorePlanSummary
impl RefUnwindSafe for FirestorePlanSummary
impl Send for FirestorePlanSummary
impl Sync for FirestorePlanSummary
impl Unpin for FirestorePlanSummary
impl UnsafeUnpin for FirestorePlanSummary
impl UnwindSafe for FirestorePlanSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request