pub struct SimulationSingleEventUpdate {
pub notification_setting_id: NotificationSettingID,
pub name: Option<String>,
pub status: Status,
pub type: EventTypeName,
pub payload: Option<Value>,
}
Expand description
Represents a simulation entity for a single event when updating.
Fields§
§notification_setting_id: NotificationSettingID
Unique Paddle ID for this notification setting, prefixed with ntfset_
.
name: Option<String>
Name of this simulation.
status: Status
Whether this entity can be used in Paddle.
type: EventTypeName
Type of event sent by Paddle, in the format entity.event_type
.
payload: Option<Value>
Simulation payload. Pass a JSON object that matches the schema for an event type to simulate a custom payload. Set to null
to clear and populate with a demo example.
Trait Implementations§
Source§impl Clone for SimulationSingleEventUpdate
impl Clone for SimulationSingleEventUpdate
Source§fn clone(&self) -> SimulationSingleEventUpdate
fn clone(&self) -> SimulationSingleEventUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimulationSingleEventUpdate
impl Debug for SimulationSingleEventUpdate
Source§impl<'de> Deserialize<'de> for SimulationSingleEventUpdate
impl<'de> Deserialize<'de> for SimulationSingleEventUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimulationSingleEventUpdate
impl RefUnwindSafe for SimulationSingleEventUpdate
impl Send for SimulationSingleEventUpdate
impl Sync for SimulationSingleEventUpdate
impl Unpin for SimulationSingleEventUpdate
impl UnwindSafe for SimulationSingleEventUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more