pub struct BudgetsConfig {
pub global: Option<BudgetDef>,
pub per_test_default: Option<BudgetDef>,
}Expand description
Budget limits for test execution.
Fields§
§global: Option<BudgetDef>Global budget across all tests in the scenario.
per_test_default: Option<BudgetDef>Default per-test budget. Individual tests can override.
Trait Implementations§
Source§impl Clone for BudgetsConfig
impl Clone for BudgetsConfig
Source§impl Debug for BudgetsConfig
impl Debug for BudgetsConfig
Source§impl Default for BudgetsConfig
impl Default for BudgetsConfig
Source§impl<'de> Deserialize<'de> for BudgetsConfig
impl<'de> Deserialize<'de> for BudgetsConfig
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 BudgetsConfig
impl RefUnwindSafe for BudgetsConfig
impl Send for BudgetsConfig
impl Sync for BudgetsConfig
impl Unpin for BudgetsConfig
impl UnsafeUnpin for BudgetsConfig
impl UnwindSafe for BudgetsConfig
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