pub struct SimulationEvent {
pub id: SimulationEventID,
pub status: SimulationEventStatus,
pub event_type: EventTypeName,
pub payload: Value,
pub request: SimulationEventRequest,
pub response: SimulationEventResponse,
pub created_at: String,
pub updated_at: String,
}
Expand description
Represents a simulation event.
Fields§
§id: SimulationEventID
Unique Paddle ID for this simulation event, prefixed with ntfsimevt_
.
status: SimulationEventStatus
Status of this simulation run log.
event_type: EventTypeName
Type of event sent by Paddle, in the format entity.event_type
.
payload: 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.
request: SimulationEventRequest
Information about the request. Sent by Paddle as part of the simulation.
response: SimulationEventResponse
Information about the response. Sent by the responding server for the notification setting.
created_at: String
RFC 3339 datetime string of when this entity was created. Set automatically by Paddle.
updated_at: String
RFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.
Trait Implementations§
Source§impl Clone for SimulationEvent
impl Clone for SimulationEvent
Source§fn clone(&self) -> SimulationEvent
fn clone(&self) -> SimulationEvent
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 SimulationEvent
impl Debug for SimulationEvent
Source§impl<'de> Deserialize<'de> for SimulationEvent
impl<'de> Deserialize<'de> for SimulationEvent
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 SimulationEvent
impl RefUnwindSafe for SimulationEvent
impl Send for SimulationEvent
impl Sync for SimulationEvent
impl Unpin for SimulationEvent
impl UnwindSafe for SimulationEvent
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