Struct google_firestore1_beta1::api::Target[][src]

pub struct Target {
    pub documents: Option<DocumentsTarget>,
    pub once: Option<bool>,
    pub query: Option<QueryTarget>,
    pub read_time: Option<String>,
    pub resume_token: Option<String>,
    pub target_id: Option<i32>,
}

A specification of a set of documents to listen to.

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

Fields

documents: Option<DocumentsTarget>

A target specified by a set of document names.

once: Option<bool>

If the target should be removed once it is current and consistent.

query: Option<QueryTarget>

A target specified by a query.

read_time: Option<String>

Start listening after a specific read_time. The client must know the state of matching documents at this time.

resume_token: Option<String>

A resume token from a prior TargetChange for an identical target. Using a resume token with a different target is unsupported and may fail.

target_id: Option<i32>

The target ID that identifies the target on the stream. Must be a positive number and non-zero.

Trait Implementations

impl Clone for Target[src]

impl Debug for Target[src]

impl Default for Target[src]

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

impl Part for Target[src]

impl Serialize for Target[src]

Auto Trait Implementations

impl RefUnwindSafe for Target[src]

impl Send for Target[src]

impl Sync for Target[src]

impl Unpin for Target[src]

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