pub struct ScenarioConfig {
pub budget: Option<u64>,
pub warn_at_budget_pct: Option<f64>,
pub max_regression_pct: Option<f64>,
pub critical: bool,
pub tags: Vec<String>,
pub description: String,
}Expand description
[scenario.<name>].
Fields§
§budget: Option<u64>Absolute CU budget.
warn_at_budget_pct: Option<f64>Per-scenario warn threshold.
max_regression_pct: Option<f64>Per-scenario regression allowance.
critical: boolWhether the scenario is critical.
Tags.
description: StringDescription.
Trait Implementations§
Source§impl Clone for ScenarioConfig
impl Clone for ScenarioConfig
Source§fn clone(&self) -> ScenarioConfig
fn clone(&self) -> ScenarioConfig
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 ScenarioConfig
impl Debug for ScenarioConfig
Source§impl Default for ScenarioConfig
impl Default for ScenarioConfig
Source§fn default() -> ScenarioConfig
fn default() -> ScenarioConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScenarioConfigwhere
ScenarioConfig: Default,
impl<'de> Deserialize<'de> for ScenarioConfigwhere
ScenarioConfig: Default,
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
Source§impl PartialEq for ScenarioConfig
impl PartialEq for ScenarioConfig
Source§fn eq(&self, other: &ScenarioConfig) -> bool
fn eq(&self, other: &ScenarioConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScenarioConfig
impl Serialize for ScenarioConfig
impl StructuralPartialEq for ScenarioConfig
Auto Trait Implementations§
impl Freeze for ScenarioConfig
impl RefUnwindSafe for ScenarioConfig
impl Send for ScenarioConfig
impl Sync for ScenarioConfig
impl Unpin for ScenarioConfig
impl UnsafeUnpin for ScenarioConfig
impl UnwindSafe for ScenarioConfig
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