pub struct RunAggregationQueryResponse {
pub explain_metrics: Option<ExplainMetrics>,
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§
§explain_metrics: Option<ExplainMetrics>
Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
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 moreSource§impl Debug for RunAggregationQueryResponse
impl Debug for RunAggregationQueryResponse
Source§impl Default for RunAggregationQueryResponse
impl Default for RunAggregationQueryResponse
Source§fn default() -> RunAggregationQueryResponse
fn default() -> RunAggregationQueryResponse
Source§impl<'de> Deserialize<'de> for RunAggregationQueryResponse
impl<'de> Deserialize<'de> for RunAggregationQueryResponse
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 ResponseResult for RunAggregationQueryResponse
Auto Trait Implementations§
impl Freeze for RunAggregationQueryResponse
impl RefUnwindSafe for RunAggregationQueryResponse
impl Send for RunAggregationQueryResponse
impl Sync for RunAggregationQueryResponse
impl Unpin for RunAggregationQueryResponse
impl UnwindSafe for RunAggregationQueryResponse
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