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§fn clone(&self) -> BudgetsConfig
fn clone(&self) -> BudgetsConfig
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 BudgetsConfig
impl Debug for BudgetsConfig
Source§impl Default for BudgetsConfig
impl Default for BudgetsConfig
Source§fn default() -> BudgetsConfig
fn default() -> BudgetsConfig
Returns the “default value” for a type. Read more
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