Struct google_firestore1_beta1::api::DocumentRemove[][src]

pub struct DocumentRemove {
    pub document: Option<String>,
    pub read_time: Option<String>,
    pub removed_target_ids: Option<Vec<i32>>,
}

A Document has been removed from the view of the targets. Sent if the document is no longer relevant to a target and is out of view. Can be sent instead of a DocumentDelete or a DocumentChange if the server can not send the new value of the document. Multiple DocumentRemove messages may be returned for the same logical write or delete, if multiple targets are affected.

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

Fields

document: Option<String>

The resource name of the Document that has gone out of view.

read_time: Option<String>

The read timestamp at which the remove was observed. Greater or equal to the commit_time of the change/delete/remove.

removed_target_ids: Option<Vec<i32>>

A set of target IDs for targets that previously matched this document.

Trait Implementations

impl Clone for DocumentRemove[src]

impl Debug for DocumentRemove[src]

impl Default for DocumentRemove[src]

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

impl Part for DocumentRemove[src]

impl Serialize for DocumentRemove[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentRemove[src]

impl Send for DocumentRemove[src]

impl Sync for DocumentRemove[src]

impl Unpin for DocumentRemove[src]

impl UnwindSafe for DocumentRemove[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.