pub struct RunAggregationQueryRequest {
pub explain_options: Option<ExplainOptions>,
pub new_transaction: Option<TransactionOptions>,
pub read_time: Option<DateTime<Utc>>,
pub structured_aggregation_query: Option<StructuredAggregationQuery>,
pub transaction: Option<Vec<u8>>,
}
Expand description
The request for Firestore.RunAggregationQuery.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§explain_options: Option<ExplainOptions>
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
new_transaction: Option<TransactionOptions>
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
read_time: Option<DateTime<Utc>>
Executes the query at the given timestamp. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
structured_aggregation_query: Option<StructuredAggregationQuery>
An aggregation query.
transaction: Option<Vec<u8>>
Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.
Trait Implementations§
Source§impl Clone for RunAggregationQueryRequest
impl Clone for RunAggregationQueryRequest
Source§fn clone(&self) -> RunAggregationQueryRequest
fn clone(&self) -> RunAggregationQueryRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RunAggregationQueryRequest
impl Debug for RunAggregationQueryRequest
Source§impl Default for RunAggregationQueryRequest
impl Default for RunAggregationQueryRequest
Source§fn default() -> RunAggregationQueryRequest
fn default() -> RunAggregationQueryRequest
Source§impl<'de> Deserialize<'de> for RunAggregationQueryRequest
impl<'de> Deserialize<'de> for RunAggregationQueryRequest
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>,
impl RequestValue for RunAggregationQueryRequest
Auto Trait Implementations§
impl Freeze for RunAggregationQueryRequest
impl RefUnwindSafe for RunAggregationQueryRequest
impl Send for RunAggregationQueryRequest
impl Sync for RunAggregationQueryRequest
impl Unpin for RunAggregationQueryRequest
impl UnwindSafe for RunAggregationQueryRequest
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
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>
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>
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