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

pub struct InitialPartitionAssignmentRequest {
    pub subscription: String,
    pub client_id: Vec<u8>,
}

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 name. Structured like: projects//locations//subscriptions/

client_id: Vec<u8>

An opaque, unique client identifier. This field must be exactly 16 bytes long and is interpreted as an unsigned 128 bit integer. Other size values will be rejected and the stream will be failed with a non-retryable error.

This field is large enough to fit a uuid from standard uuid algorithms like uuid1 or uuid4, which should be used to generate this number. The same identifier should be reused following disconnections with retryable stream errors.

Trait Implementations

impl Clone for InitialPartitionAssignmentRequest[src]

impl Debug for InitialPartitionAssignmentRequest[src]

impl Default for InitialPartitionAssignmentRequest[src]

impl Message for InitialPartitionAssignmentRequest[src]

impl PartialEq<InitialPartitionAssignmentRequest> for InitialPartitionAssignmentRequest[src]

impl StructuralPartialEq for InitialPartitionAssignmentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for InitialPartitionAssignmentRequest

impl Send for InitialPartitionAssignmentRequest

impl Sync for InitialPartitionAssignmentRequest

impl Unpin for InitialPartitionAssignmentRequest

impl UnwindSafe for InitialPartitionAssignmentRequest

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]