[][src]Struct firestore_grpc_cloudrun::DocumentChange

pub struct DocumentChange {
    pub document: Option<Document>,
    pub target_ids: Vec<i32>,
    pub removed_target_ids: Vec<i32>,
}

A [Document][google.firestore.v1.Document] has changed.

May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that ultimately resulted in a new value for the [Document][google.firestore.v1.Document].

Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical change, if multiple targets are affected.

Fields

document: Option<Document>

The new state of the [Document][google.firestore.v1.Document].

If mask is set, contains only fields that were updated or added.

target_ids: Vec<i32>

A set of target IDs of targets that match this document.

removed_target_ids: Vec<i32>

A set of target IDs for targets that no longer match this document.

Trait Implementations

impl Clone for DocumentChange[src]

impl Debug for DocumentChange[src]

impl Default for DocumentChange[src]

impl Message for DocumentChange[src]

impl PartialEq<DocumentChange> for DocumentChange[src]

impl StructuralPartialEq for DocumentChange[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentChange

impl Send for DocumentChange

impl Sync for DocumentChange

impl Unpin for DocumentChange

impl UnwindSafe for DocumentChange

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]