[][src]Struct google_firestore1_beta1::DocumentChange

pub struct DocumentChange {
    pub removed_target_ids: Option<Vec<i32>>,
    pub document: Option<Document>,
    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

removed_target_ids: Option<Vec<i32>>

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

document: Option<Document>

The new state of the Document.

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

target_ids: Option<Vec<i32>>

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

Trait Implementations

impl Part for DocumentChange[src]

impl Default for DocumentChange[src]

impl Clone for DocumentChange[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DocumentChange[src]

impl Serialize for DocumentChange[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]