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 more