Struct chirpstack_api::as_pb::external::api::HttpIntegration[][src]

pub struct HttpIntegration {
    pub application_id: i64,
    pub headers: Vec<HttpIntegrationHeader>,
    pub uplink_data_url: String,
    pub join_notification_url: String,
    pub ack_notification_url: String,
    pub error_notification_url: String,
    pub status_notification_url: String,
    pub location_notification_url: String,
    pub tx_ack_notification_url: String,
    pub integration_notification_url: String,
    pub marshaler: i32,
    pub event_endpoint_url: String,
}

Fields

application_id: i64

The id of the application.

headers: Vec<HttpIntegrationHeader>

The headers to use when making HTTP callbacks.

uplink_data_url: String

The URL to call for uplink data. Deprecated: use event_endpoint_url.

join_notification_url: String

The URL to call for join notifications. Deprecated: use event_endpoint_url.

ack_notification_url: String

The URL to call for ACK notifications (for confirmed downlink data). Deprecated: use event_endpoint_url.

error_notification_url: String

The URL to call for error notifications. Deprecated: use event_endpoint_url.

status_notification_url: String

The URL to call for device-status notifications. Deprecated: use event_endpoint_url.

location_notification_url: String

The URL to call for location notifications. Deprecated: use event_endpoint_url.

tx_ack_notification_url: String

The URL to call for tx ack notifications (downlink acknowledged by gateway for transmission). Deprecated: use event_endpoint_url.

integration_notification_url: String

The URL to call for integration notifications. Deprecated: use event_endpoint_url.

marshaler: i32

Marshaler. This defines the marshaler that is used to encode the event payload.

event_endpoint_url: String

Event endpoint URL. The HTTP integration will POST all events to this enpoint. The request will contain a query parameters “event” containing the type of the event.

Implementations

impl HttpIntegration[src]

pub fn marshaler(&self) -> Marshaler[src]

Returns the enum value of marshaler, or the default if the field is set to an invalid enum value.

pub fn set_marshaler(&mut self, value: Marshaler)[src]

Sets marshaler to the provided enum value.

Trait Implementations

impl Clone for HttpIntegration[src]

impl Debug for HttpIntegration[src]

impl Default for HttpIntegration[src]

impl Message for HttpIntegration[src]

impl PartialEq<HttpIntegration> for HttpIntegration[src]

impl StructuralPartialEq for HttpIntegration[src]

Auto Trait Implementations

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

impl<T> WithSubscriber for T[src]