Struct google_api_proto::google::firestore::v1::RunAggregationQueryResponse
source · pub struct RunAggregationQueryResponse {
pub result: Option<AggregationResult>,
pub transaction: Bytes,
pub read_time: Option<Timestamp>,
pub explain_metrics: Option<ExplainMetrics>,
}
Expand description
The response for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
Fields§
§result: Option<AggregationResult>
A single aggregation result.
Not present when reporting partial progress.
transaction: Bytes
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.
read_time: Option<Timestamp>
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.
explain_metrics: Option<ExplainMetrics>
Query explain metrics. This is only present when the [RunAggregationQueryRequest.explain_options][google.firestore.v1.RunAggregationQueryRequest.explain_options] is provided, and it is sent only once with the last response in the stream.
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 Message for RunAggregationQueryResponse
impl Message for RunAggregationQueryResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for RunAggregationQueryResponse
impl PartialEq for RunAggregationQueryResponse
source§fn eq(&self, other: &RunAggregationQueryResponse) -> bool
fn eq(&self, other: &RunAggregationQueryResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
T
in a tonic::Request