Struct google_firestore1_beta1::api::DocumentChange [−][src]
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]
fn clone(&self) -> DocumentChange[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DocumentChange[src]
impl Default for DocumentChange[src]
fn default() -> DocumentChange[src]
impl<'de> Deserialize<'de> for DocumentChange[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,