Struct google_api_proto::google::datastore::v1::RunAggregationQueryResponse
source · pub struct RunAggregationQueryResponse {
pub batch: Option<AggregationResultBatch>,
pub query: Option<AggregationQuery>,
pub transaction: Bytes,
pub explain_metrics: Option<ExplainMetrics>,
}
Expand description
The response for [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
Fields§
§batch: Option<AggregationResultBatch>
A batch of aggregation results. Always present.
query: Option<AggregationQuery>
The parsed form of the GqlQuery
from the request, if it was set.
transaction: Bytes
The identifier of the transaction that was started as part of this RunAggregationQuery request.
Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [RunAggregationQueryRequest.read_options][google.datastore.v1.RunAggregationQueryRequest.read_options].
explain_metrics: Option<ExplainMetrics>
Query explain metrics. This is only present when the [RunAggregationQueryRequest.explain_options][google.datastore.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