pub struct FirestoreExplainOptions {
pub analyze: Option<bool>,
}Expand description
Re-exports all public items from the db module.
The db module contains the core FirestoreDb client and
functionalities for interacting with the Firestore database, such as CRUD operations,
queries, and transactions.
Options for requesting query execution analysis from Firestore.
When analyze is true, Firestore will return detailed information about
how the query was executed, including index usage and performance metrics.
Fields§
§analyze: Option<bool>If true, Firestore will analyze the query and return execution details.
Defaults to false if not specified.
Implementations§
Source§impl FirestoreExplainOptions
impl FirestoreExplainOptions
pub fn new() -> Self
pub fn analyze(&mut self, value: bool) -> &mut Self
pub fn reset_analyze(&mut self) -> &mut Self
pub fn mopt_analyze(&mut self, value: Option<bool>) -> &mut Self
pub fn with_analyze(self, value: bool) -> Self
pub fn without_analyze(self) -> Self
pub fn opt_analyze(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for FirestoreExplainOptions
impl Clone for FirestoreExplainOptions
Source§fn clone(&self) -> FirestoreExplainOptions
fn clone(&self) -> FirestoreExplainOptions
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 FirestoreExplainOptions
impl Debug for FirestoreExplainOptions
Source§impl From<FirestoreExplainOptionsInit> for FirestoreExplainOptions
impl From<FirestoreExplainOptionsInit> for FirestoreExplainOptions
Source§fn from(value: FirestoreExplainOptionsInit) -> Self
fn from(value: FirestoreExplainOptionsInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FirestoreExplainOptions
impl PartialEq for FirestoreExplainOptions
impl StructuralPartialEq for FirestoreExplainOptions
Source§impl TryFrom<&FirestoreExplainOptions> for ExplainOptions
impl TryFrom<&FirestoreExplainOptions> for ExplainOptions
Source§type Error = FirestoreError
type Error = FirestoreError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FirestoreExplainOptions
impl RefUnwindSafe for FirestoreExplainOptions
impl Send for FirestoreExplainOptions
impl Sync for FirestoreExplainOptions
impl Unpin for FirestoreExplainOptions
impl UnsafeUnpin for FirestoreExplainOptions
impl UnwindSafe for FirestoreExplainOptions
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