pub struct SimulationScenario {
pub id: SimulationID,
pub status: Status,
pub notification_setting_id: NotificationSettingID,
pub name: String,
pub type: SimulationScenarioType,
pub payload: Option<Value>,
pub last_run_at: Option<DateTime<FixedOffset>>,
pub created_at: String,
pub updated_at: String,
}Expand description
Represents a simulation entity for a scenario.
Fields§
§id: SimulationIDUnique Paddle ID for this simulation, prefixed with ntfsim_.
status: StatusWhether this entity can be used in Paddle.
notification_setting_id: NotificationSettingIDUnique Paddle ID for this notification setting, prefixed with ntfset_.
name: StringName of this simulation.
type: SimulationScenarioTypeScenario for a simulation.
payload: Option<Value>Simulation payload. null for scenarios.
last_run_at: Option<DateTime<FixedOffset>>RFC 3339 datetime string of when this simulation was last run. null until run. Set automatically by Paddle.
created_at: StringRFC 3339 datetime string of when this entity was created. Set automatically by Paddle.
updated_at: StringRFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.
Trait Implementations§
Source§impl Clone for SimulationScenario
impl Clone for SimulationScenario
Source§fn clone(&self) -> SimulationScenario
fn clone(&self) -> SimulationScenario
Returns a copy 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 SimulationScenario
impl Debug for SimulationScenario
Source§impl<'de> Deserialize<'de> for SimulationScenario
impl<'de> Deserialize<'de> for SimulationScenario
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 SimulationScenario
impl RefUnwindSafe for SimulationScenario
impl Send for SimulationScenario
impl Sync for SimulationScenario
impl Unpin for SimulationScenario
impl UnwindSafe for SimulationScenario
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