[][src]Struct firestore_grpc_cloudrun::Target

pub struct Target {
    pub target_id: i32,
    pub once: bool,
    pub target_type: Option<TargetType>,
    pub resume_type: Option<ResumeType>,
}

A specification of a set of documents to listen to.

Fields

target_id: i32

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

once: bool

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

target_type: Option<TargetType>

The type of target to listen to.

resume_type: Option<ResumeType>

When to start listening.

If not specified, all matching Documents are returned before any subsequent changes.

Trait Implementations

impl Clone for Target[src]

impl Debug for Target[src]

impl Default for Target[src]

impl Message for Target[src]

impl PartialEq<Target> for Target[src]

impl StructuralPartialEq for Target[src]

Auto Trait Implementations

impl RefUnwindSafe for Target

impl Send for Target

impl Sync for Target

impl Unpin for Target

impl UnwindSafe for Target

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> 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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]