pub struct StressConfig {
pub scenarios: Vec<StressScenario>,
pub arbitrage: ArbitrageCheck,
}Expand description
The whole stress configuration (one or more scenarios).
Fields§
§scenarios: Vec<StressScenario>§arbitrage: ArbitrageCheckNo-arbitrage guard on bumped curves; defaults to warn at floor 0.
Trait Implementations§
Source§impl Clone for StressConfig
impl Clone for StressConfig
Source§fn clone(&self) -> StressConfig
fn clone(&self) -> StressConfig
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 StressConfig
impl Debug for StressConfig
Source§impl<'de> Deserialize<'de> for StressConfig
impl<'de> Deserialize<'de> for StressConfig
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 StressConfig
impl RefUnwindSafe for StressConfig
impl Send for StressConfig
impl Sync for StressConfig
impl Unpin for StressConfig
impl UnsafeUnpin for StressConfig
impl UnwindSafe for StressConfig
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