pub struct SimulationSingleEventCreate {
pub notification_setting_id: NotificationSettingID,
pub name: Option<String>,
pub type: EventTypeName,
pub payload: Option<Value>,
}
Expand description
Represents a simulation entity for a single event when creating.
Fields§
§notification_setting_id: NotificationSettingID
Unique Paddle ID for this notification setting, prefixed with ntfset_
.
name: Option<String>
Name of this simulation.
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. If omitted, Paddle populates with a demo example.
Trait Implementations§
Source§impl Clone for SimulationSingleEventCreate
impl Clone for SimulationSingleEventCreate
Source§fn clone(&self) -> SimulationSingleEventCreate
fn clone(&self) -> SimulationSingleEventCreate
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 SimulationSingleEventCreate
impl Debug for SimulationSingleEventCreate
Source§impl<'de> Deserialize<'de> for SimulationSingleEventCreate
impl<'de> Deserialize<'de> for SimulationSingleEventCreate
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 SimulationSingleEventCreate
impl RefUnwindSafe for SimulationSingleEventCreate
impl Send for SimulationSingleEventCreate
impl Sync for SimulationSingleEventCreate
impl Unpin for SimulationSingleEventCreate
impl UnwindSafe for SimulationSingleEventCreate
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