pub struct NotificationSettingUpdate {
pub description: String,
pub destination: String,
pub active: bool,
pub api_version: i64,
pub include_sensitive_fields: bool,
pub subscribed_events: Option<Vec<String>>,
pub traffic_source: TrafficSource,
}
Expand description
Represents a notification destination when updating notification destinations.
Fields§
§description: String
Short description for this notification destination. Shown in the Paddle Dashboard.
destination: String
Webhook endpoint URL or email address.
active: bool
Whether Paddle should try to deliver events to this notification destination.
api_version: i64
API 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. Defaults to your account default if omitted.
include_sensitive_fields: bool
Whether potentially sensitive fields should be sent to this notification destination.
subscribed_events: Option<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.
traffic_source: TrafficSource
Whether Paddle should deliver real platform events, simulation events or both to this notification destination.
Trait Implementations§
Source§impl Clone for NotificationSettingUpdate
impl Clone for NotificationSettingUpdate
Source§fn clone(&self) -> NotificationSettingUpdate
fn clone(&self) -> NotificationSettingUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more