Struct google_firestore1_beta1::api::DocumentChange[][src]

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

A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.

This type is not used in any activity, and only used as part of another schema.

Fields

document: Option<Document>

The new state of the Document. If mask is set, contains only fields that were updated or added.

removed_target_ids: Option<Vec<i32>>

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

target_ids: Option<Vec<i32>>

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

Trait Implementations

impl Clone for DocumentChange[src]

impl Debug for DocumentChange[src]

impl Default for DocumentChange[src]

impl<'de> Deserialize<'de> for DocumentChange[src]

impl Part for DocumentChange[src]

impl Serialize for DocumentChange[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentChange[src]

impl Send for DocumentChange[src]

impl Sync for DocumentChange[src]

impl Unpin for DocumentChange[src]

impl UnwindSafe for DocumentChange[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.