pub struct SimulationType {
pub name: String,
pub label: String,
pub description: String,
pub group: String,
pub type: SimulationKind,
pub events: Vec<EventTypeName>,
}
Expand description
Represents a simulation type.
Fields§
§name: String
Type of simulation sent by Paddle. Single event simulations are in the format entity.event_type
; scenario simulations are in snake_case
.
label: String
Descriptive label for this simulation type. Typically gives more context about a scenario. Single event simulations are in the format entity.event_type
.
description: String
Short description of this simulation type.
group: String
Group for this simulation type. Typically the entity that this event relates to.
type: SimulationKind
Type of simulation.
events: Vec<EventTypeName>
List of events that will be sent for this simulation type.
Trait Implementations§
Source§impl Clone for SimulationType
impl Clone for SimulationType
Source§fn clone(&self) -> SimulationType
fn clone(&self) -> SimulationType
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 SimulationType
impl Debug for SimulationType
Source§impl<'de> Deserialize<'de> for SimulationType
impl<'de> Deserialize<'de> for SimulationType
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 SimulationType
impl RefUnwindSafe for SimulationType
impl Send for SimulationType
impl Sync for SimulationType
impl Unpin for SimulationType
impl UnwindSafe for SimulationType
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