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

pub struct CreateSubscriptionRequest {
    pub parent: String,
    pub subscription: Option<Subscription>,
    pub subscription_id: String,
    pub skip_backlog: bool,
}

Request for CreateSubscription.

Fields

parent: String

Required. The parent location in which to create the subscription. Structured like projects/{project_number}/locations/{location}.

subscription: Option<Subscription>

Required. Configuration of the subscription to create. Its name field is ignored.

subscription_id: String

Required. The ID to use for the subscription, which will become the final component of the subscription’s name.

This value is structured like: my-sub-name.

skip_backlog: bool

If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.

Trait Implementations

impl Clone for CreateSubscriptionRequest[src]

impl Debug for CreateSubscriptionRequest[src]

impl Default for CreateSubscriptionRequest[src]

impl Message for CreateSubscriptionRequest[src]

impl PartialEq<CreateSubscriptionRequest> for CreateSubscriptionRequest[src]

impl StructuralPartialEq for CreateSubscriptionRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateSubscriptionRequest

impl Send for CreateSubscriptionRequest

impl Sync for CreateSubscriptionRequest

impl Unpin for CreateSubscriptionRequest

impl UnwindSafe for CreateSubscriptionRequest

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]