pub struct PerformanceBudget {
pub id: String,
pub kind: BudgetKind,
pub ceiling: u64,
}Expand description
One declared budget ceiling.
Fields§
§id: StringBudget id, e.g. north-star-e2e-latency.
kind: BudgetKindDimension being constrained.
ceiling: u64Inclusive maximum allowed measurement.
Trait Implementations§
Source§impl Clone for PerformanceBudget
impl Clone for PerformanceBudget
Source§fn clone(&self) -> PerformanceBudget
fn clone(&self) -> PerformanceBudget
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 PerformanceBudget
impl Debug for PerformanceBudget
Source§impl PartialEq for PerformanceBudget
impl PartialEq for PerformanceBudget
Source§fn eq(&self, other: &PerformanceBudget) -> bool
fn eq(&self, other: &PerformanceBudget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PerformanceBudget
impl StructuralPartialEq for PerformanceBudget
Auto Trait Implementations§
impl Freeze for PerformanceBudget
impl RefUnwindSafe for PerformanceBudget
impl Send for PerformanceBudget
impl Sync for PerformanceBudget
impl Unpin for PerformanceBudget
impl UnsafeUnpin for PerformanceBudget
impl UnwindSafe for PerformanceBudget
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