pub struct Measurement {
pub budgets: Budgets,
pub contention: ContentionPosture,
pub work_formula: Option<WorkFormula>,
}Expand description
What one row declares about how it is measured, rather than about what it measures.
Fields§
§budgets: BudgetsThe gate’s declared tolerances.
contention: ContentionPostureThe declared contention posture.
work_formula: Option<WorkFormula>The declared work formula, where the operation states one.
Optional because only some operations declare one, and the absence is a STATED fact: where a formula is declared the gate reads work counts against it, and where none is declared there is no work count to read.
Trait Implementations§
Source§impl Clone for Measurement
impl Clone for Measurement
Source§fn clone(&self) -> Measurement
fn clone(&self) -> Measurement
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 Measurement
impl Debug for Measurement
impl Eq for Measurement
Source§impl Hash for Measurement
impl Hash for Measurement
Source§impl PartialEq for Measurement
impl PartialEq for Measurement
impl StructuralPartialEq for Measurement
Auto Trait Implementations§
impl Freeze for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnsafeUnpin for Measurement
impl UnwindSafe for Measurement
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