Struct gapi_grpc::google::pubsub::v1beta2::PushConfig[][src]

pub struct PushConfig {
    pub push_endpoint: String,
    pub attributes: HashMap<String, String>,
}

Configuration for a push delivery endpoint.

Fields

push_endpoint: String

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use “https://example.com/push”.

attributes: HashMap<String, String>

Endpoint configuration attributes.

Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery.

The currently supported attribute is x-goog-version, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API.

If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute.

The possible values for this attribute are:

Trait Implementations

impl Clone for PushConfig[src]

impl Debug for PushConfig[src]

impl Default for PushConfig[src]

impl Message for PushConfig[src]

impl PartialEq<PushConfig> for PushConfig[src]

impl StructuralPartialEq for PushConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for PushConfig

impl Send for PushConfig

impl Sync for PushConfig

impl Unpin for PushConfig

impl UnwindSafe for PushConfig

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]