pub struct HardwareLifecycle {
pub thermal_efficiency: f64,
pub component_stress: f64,
pub expected_lifespan_years: f64,
}Expand description
Hardware lifecycle metrics
Fields§
§thermal_efficiency: f64Thermal efficiency (0.0 to 1.0)
component_stress: f64Component stress score (0.0 to 1.0, lower is better)
expected_lifespan_years: f64Expected hardware lifespan in years
Trait Implementations§
Source§impl Clone for HardwareLifecycle
impl Clone for HardwareLifecycle
Source§fn clone(&self) -> HardwareLifecycle
fn clone(&self) -> HardwareLifecycle
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 moreSource§impl Debug for HardwareLifecycle
impl Debug for HardwareLifecycle
Source§impl Default for HardwareLifecycle
impl Default for HardwareLifecycle
Source§impl<'de> Deserialize<'de> for HardwareLifecycle
impl<'de> Deserialize<'de> for HardwareLifecycle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HardwareLifecycle
impl RefUnwindSafe for HardwareLifecycle
impl Send for HardwareLifecycle
impl Sync for HardwareLifecycle
impl Unpin for HardwareLifecycle
impl UnwindSafe for HardwareLifecycle
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