Struct google_firestore1_beta1::Target[][src]

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

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

A target specified by a set of document names.

Start listening after a specific read_time.

The client must know the state of matching documents at this time.

A target specified by a query.

A resume token from a prior TargetChange for an identical target.

Using a resume token with a different target is unsupported and may fail.

A client provided target ID.

If not set, the server will assign an ID for the target.

Used for resuming a target without changing IDs. The IDs can either be client-assigned or be server-assigned in a previous stream. All targets with client provided IDs must be added before adding a target that needs a server-assigned id.

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

Trait Implementations

impl Default for Target
[src]

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

impl Clone for Target
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Target
[src]

Formats the value using the given formatter. Read more

impl Part for Target
[src]

Auto Trait Implementations

impl Send for Target

impl Sync for Target