pub struct BudgetLabels<'a> {
pub krate: &'a str,
pub version: &'a str,
pub scale_unit: &'a str,
pub scale: u64,
pub what: &'a str,
pub scope: &'a str,
}Expand description
Names and scale of the load behind an IdleObservation, for IdleObservation::result_lines.
Fields§
§krate: &'a strCrate being measured, e.g. rightkit-cache.
version: &'a str§scale_unit: &'a strUnit of scale, e.g. entries.
scale: u64How much load the crate carried.
what: &'a strPlain-words description of that load.
scope: &'a strsynthetic, real or installed.
Trait Implementations§
Source§impl<'a> Clone for BudgetLabels<'a>
impl<'a> Clone for BudgetLabels<'a>
impl<'a> Copy for BudgetLabels<'a>
Auto Trait Implementations§
impl<'a> Freeze for BudgetLabels<'a>
impl<'a> RefUnwindSafe for BudgetLabels<'a>
impl<'a> Send for BudgetLabels<'a>
impl<'a> Sync for BudgetLabels<'a>
impl<'a> Unpin for BudgetLabels<'a>
impl<'a> UnsafeUnpin for BudgetLabels<'a>
impl<'a> UnwindSafe for BudgetLabels<'a>
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