Struct google_firestore1_beta1::DocumentChange[][src]

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

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

The new state of the Document.

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

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

Trait Implementations

impl Default for DocumentChange
[src]

Returns the "default value" for a type. Read more

impl Clone for DocumentChange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DocumentChange
[src]

Formats the value using the given formatter. Read more

impl Part for DocumentChange
[src]

Auto Trait Implementations