Struct google_api_proto::google::firestore::v1beta1::RunQueryResponse
source · pub struct RunQueryResponse {
pub transaction: Bytes,
pub document: Option<Document>,
pub read_time: Option<Timestamp>,
pub skipped_results: i32,
}
Expand description
The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].
Fields§
§transaction: Bytes
The transaction that was started as part of this request. Can only be set in the first response, and only if [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. If set, no other fields will be set in this response.
document: Option<Document>
A query result. Not set when reporting partial progress.
read_time: Option<Timestamp>
The time at which the document was read. This may be monotonically
increasing; in this case, the previous documents 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
document
will be sent, and this represents the time at which the query
was run.
skipped_results: i32
The number of results that have been skipped due to an offset between the last response and the current response.
Trait Implementations§
source§impl Clone for RunQueryResponse
impl Clone for RunQueryResponse
source§fn clone(&self) -> RunQueryResponse
fn clone(&self) -> RunQueryResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RunQueryResponse
impl Debug for RunQueryResponse
source§impl Default for RunQueryResponse
impl Default for RunQueryResponse
source§impl Message for RunQueryResponse
impl Message for RunQueryResponse
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 RunQueryResponse
impl PartialEq for RunQueryResponse
source§fn eq(&self, other: &RunQueryResponse) -> bool
fn eq(&self, other: &RunQueryResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RunQueryResponse
Auto Trait Implementations§
impl !Freeze for RunQueryResponse
impl RefUnwindSafe for RunQueryResponse
impl Send for RunQueryResponse
impl Sync for RunQueryResponse
impl Unpin for RunQueryResponse
impl UnwindSafe for RunQueryResponse
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