[][src]Struct firestore_grpc_cloudrun::WriteResponse

pub struct WriteResponse {
    pub stream_id: String,
    pub stream_token: Vec<u8>,
    pub write_results: Vec<WriteResult>,
    pub commit_time: Option<Timestamp>,
}

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

Fields

stream_id: String

The ID of the stream. Only set on the first message, when a new stream was created.

stream_token: Vec<u8>

A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point.

This field is always set.

write_results: Vec<WriteResult>

The result of applying the writes.

This i-th write result corresponds to the i-th write in the request.

commit_time: Option<Timestamp>

The time at which the commit occurred. Any read with an equal or greater read_time is guaranteed to see the effects of the write.

Trait Implementations

impl Clone for WriteResponse[src]

impl Debug for WriteResponse[src]

impl Default for WriteResponse[src]

impl Message for WriteResponse[src]

impl PartialEq<WriteResponse> for WriteResponse[src]

impl StructuralPartialEq for WriteResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for WriteResponse

impl Send for WriteResponse

impl Sync for WriteResponse

impl Unpin for WriteResponse

impl UnwindSafe for WriteResponse

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]