pub struct NotificationSetting {
pub id: NotificationSettingID,
pub description: String,
pub type: NotificationSettingType,
pub destination: String,
pub active: bool,
pub api_version: i64,
pub include_sensitive_fields: bool,
pub subscribed_events: Vec<EventType>,
pub endpoint_secret_key: EndpointSecretKey,
pub traffic_source: TrafficSource,
}Expand description
Represents a notification destination.
Fields§
§id: NotificationSettingIDUnique Paddle ID for this notification setting, prefixed with ntfset_.
description: StringShort description for this notification destination. Shown in the Paddle dashboard.
type: NotificationSettingTypeWhere notifications should be sent for this destination.
destination: StringWebhook endpoint URL or email address.
active: boolWhether Paddle should try to deliver events to this notification destination.
api_version: i64API version that returned objects for events should conform to. Must be a valid version of the Paddle API. Can’t be a version older than your account default.
include_sensitive_fields: boolWhether potentially sensitive fields should be sent to this notification destination.
subscribed_events: Vec<EventType>Subscribed events for this notification destination.
endpoint_secret_key: EndpointSecretKeyWebhook destination secret key, prefixed with pdl_ntfset_. Used for signature verification.
traffic_source: TrafficSourceWhether Paddle should deliver real platform events, simulation events or both to this notification destination.
Trait Implementations§
Source§impl Clone for NotificationSetting
impl Clone for NotificationSetting
Source§fn clone(&self) -> NotificationSetting
fn clone(&self) -> NotificationSetting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more