pub struct BudgetViolation {
pub brick_name: String,
pub budget: BrickBudget,
pub actual: Duration,
pub phase: Option<BrickPhase>,
}Expand description
Budget violation report
Fields§
§brick_name: StringName of the brick that violated
budget: BrickBudgetBudget that was exceeded
actual: DurationActual time taken
phase: Option<BrickPhase>Phase that exceeded (if known)
Trait Implementations§
Source§impl Clone for BudgetViolation
impl Clone for BudgetViolation
Source§fn clone(&self) -> BudgetViolation
fn clone(&self) -> BudgetViolation
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 moreAuto Trait Implementations§
impl Freeze for BudgetViolation
impl RefUnwindSafe for BudgetViolation
impl Send for BudgetViolation
impl Sync for BudgetViolation
impl Unpin for BudgetViolation
impl UnsafeUnpin for BudgetViolation
impl UnwindSafe for BudgetViolation
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