Struct gapi_grpc::google::cloud::pubsublite::v1::InitialSubscribeRequest[][src]

pub struct InitialSubscribeRequest {
    pub subscription: String,
    pub partition: i64,
    pub initial_location: Option<SeekRequest>,
}

The first request that must be sent on a newly-opened stream. The client must wait for the response before sending subsequent requests on the stream.

Fields

subscription: String

The subscription from which to receive messages.

partition: i64

The partition from which to receive messages. Partitions are zero indexed, so partition must be in the range [0, topic.num_partitions).

initial_location: Option<SeekRequest>

Optional. Initial target location within the message backlog. If not set, messages will be delivered from the commit cursor for the given subscription and partition.

Trait Implementations

impl Clone for InitialSubscribeRequest[src]

impl Debug for InitialSubscribeRequest[src]

impl Default for InitialSubscribeRequest[src]

impl Message for InitialSubscribeRequest[src]

impl PartialEq<InitialSubscribeRequest> for InitialSubscribeRequest[src]

impl StructuralPartialEq for InitialSubscribeRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for InitialSubscribeRequest

impl Send for InitialSubscribeRequest

impl Sync for InitialSubscribeRequest

impl Unpin for InitialSubscribeRequest

impl UnwindSafe for InitialSubscribeRequest

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> 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]