[][src]Struct firestore_grpc_cloudrun::RunQueryResponse

pub struct RunQueryResponse {
    pub transaction: Vec<u8>,
    pub document: Option<Document>,
    pub read_time: Option<Timestamp>,
    pub skipped_results: i32,
}

The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].

Fields

transaction: Vec<u8>

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.v1.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

impl Clone for RunQueryResponse[src]

impl Debug for RunQueryResponse[src]

impl Default for RunQueryResponse[src]

impl Message for RunQueryResponse[src]

impl PartialEq<RunQueryResponse> for RunQueryResponse[src]

impl StructuralPartialEq for RunQueryResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for RunQueryResponse

impl Send for RunQueryResponse

impl Sync for RunQueryResponse

impl Unpin for RunQueryResponse

impl UnwindSafe for RunQueryResponse

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]