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

pub struct Subscription {
    pub name: String,
    pub topic: String,
    pub delivery_config: Option<DeliveryConfig>,
}

Metadata about a subscription resource.

Fields

name: String

The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}

topic: String

The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

delivery_config: Option<DeliveryConfig>

The settings for this subscription’s message delivery.

Trait Implementations

impl Clone for Subscription[src]

impl Debug for Subscription[src]

impl Default for Subscription[src]

impl Message for Subscription[src]

impl PartialEq<Subscription> for Subscription[src]

impl StructuralPartialEq for Subscription[src]

Auto Trait Implementations

impl RefUnwindSafe for Subscription

impl Send for Subscription

impl Sync for Subscription

impl Unpin for Subscription

impl UnwindSafe for Subscription

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]