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
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 Default for DocumentChange
[src]
impl Default for DocumentChange
fn default() -> DocumentChange
[src]
fn default() -> DocumentChange
Returns the "default value" for a type. Read more
impl Clone for DocumentChange
[src]
impl Clone for DocumentChange
fn clone(&self) -> DocumentChange
[src]
fn clone(&self) -> DocumentChange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[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 Debug for DocumentChange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for DocumentChange
[src]
impl Part for DocumentChange
Auto Trait Implementations
impl Send for DocumentChange
impl Send for DocumentChange
impl Sync for DocumentChange
impl Sync for DocumentChange