pub struct NotificationSettingCreate {
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<String>,
pub endpoint_secret_key: EndpointSecretKey,
pub traffic_source: TrafficSource,
}Expand description
Represents a notification destination when creating notification destinations.
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. If omitted, defaults to your account default version.
include_sensitive_fields: boolWhether potentially sensitive fields should be sent to this notification destination. If omitted, defaults to false.
subscribed_events: Vec<String>Subscribed events for this notification destination. When creating or updating a notification destination, pass an array of event type names only. Paddle returns the complete event type object.
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. If omitted, defaults to platform.
Trait Implementations§
Source§impl Clone for NotificationSettingCreate
impl Clone for NotificationSettingCreate
Source§fn clone(&self) -> NotificationSettingCreate
fn clone(&self) -> NotificationSettingCreate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more