pub struct StressScenario {
pub name: String,
pub shocks: Vec<Shock>,
}Expand description
A named collection of shocks applied together.
Fields§
§name: String§shocks: Vec<Shock>Trait Implementations§
Source§impl Clone for StressScenario
impl Clone for StressScenario
Source§fn clone(&self) -> StressScenario
fn clone(&self) -> StressScenario
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StressScenario
impl Debug for StressScenario
Source§impl<'de> Deserialize<'de> for StressScenario
impl<'de> Deserialize<'de> for StressScenario
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 StressScenario
impl RefUnwindSafe for StressScenario
impl Send for StressScenario
impl Sync for StressScenario
impl Unpin for StressScenario
impl UnsafeUnpin for StressScenario
impl UnwindSafe for StressScenario
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