pub struct PerformanceSample {
pub budget_id: String,
pub observed: u64,
}Expand description
One measured sample against a budget id.
Fields§
§budget_id: StringMatching budget id.
observed: u64Observed value in the budget’s units.
Trait Implementations§
Source§impl Clone for PerformanceSample
impl Clone for PerformanceSample
Source§fn clone(&self) -> PerformanceSample
fn clone(&self) -> PerformanceSample
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 PerformanceSample
impl Debug for PerformanceSample
Source§impl PartialEq for PerformanceSample
impl PartialEq for PerformanceSample
Source§fn eq(&self, other: &PerformanceSample) -> bool
fn eq(&self, other: &PerformanceSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PerformanceSample
impl StructuralPartialEq for PerformanceSample
Auto Trait Implementations§
impl Freeze for PerformanceSample
impl RefUnwindSafe for PerformanceSample
impl Send for PerformanceSample
impl Sync for PerformanceSample
impl Unpin for PerformanceSample
impl UnsafeUnpin for PerformanceSample
impl UnwindSafe for PerformanceSample
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