pub struct RunAggregationQueryResponse {
pub read_time: Option<DateTime<Utc>>,
pub result: Option<AggregationResult>,
pub transaction: Option<Vec<u8>>,
}
Expand description
The response 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§
§read_time: Option<DateTime<Utc>>
The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their read_time
and this one. If the query returns no results, a response with read_time
and no result
will be sent, and this represents the time at which the query was run.
result: Option<AggregationResult>
A single aggregation result. Not present when reporting partial progress.
transaction: Option<Vec<u8>>
The transaction that was started as part of this request. Only present on the first response when the request requested to start a new transaction.
Trait Implementations§
source§impl Clone for RunAggregationQueryResponse
impl Clone for RunAggregationQueryResponse
source§fn clone(&self) -> RunAggregationQueryResponse
fn clone(&self) -> RunAggregationQueryResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more