pub struct WasteEntry {
pub lease_id: u128,
pub classification: WasteClassification,
pub utilization_pct: f64,
pub active_pct: f64,
pub cost_byte_secs: u64,
pub waste_byte_secs: u64,
pub recommendation: String,
}Expand description
A single lease’s waste analysis.
Fields§
§lease_id: u128Lease ID.
classification: WasteClassificationWaste classification.
utilization_pct: f64Utilization percentage (peak_usage / capacity).
active_pct: f64Active percentage (time_with_ops / total_duration).
cost_byte_secs: u64Lease cost in byte-seconds.
waste_byte_secs: u64Waste in byte-seconds (unused capacity * duration).
recommendation: StringHuman-readable recommendation.
Trait Implementations§
Source§impl Clone for WasteEntry
impl Clone for WasteEntry
Source§fn clone(&self) -> WasteEntry
fn clone(&self) -> WasteEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 WasteEntry
impl RefUnwindSafe for WasteEntry
impl Send for WasteEntry
impl Sync for WasteEntry
impl Unpin for WasteEntry
impl UnwindSafe for WasteEntry
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