pub struct SystemHealthMetrics {
pub gpu_temperature_celsius: f64,
pub gpu_power_watts: f64,
pub gpu_clock_mhz: f64,
pub gpu_memory_clock_mhz: f64,
pub cpu_frequency_mhz: f64,
pub cpu_temperature_celsius: f64,
pub gpu_memory_used_mb: f64,
pub gpu_memory_total_mb: f64,
}Fields§
§gpu_temperature_celsius: f64§gpu_power_watts: f64§gpu_clock_mhz: f64§gpu_memory_clock_mhz: f64§cpu_frequency_mhz: f64§cpu_temperature_celsius: f64§gpu_memory_used_mb: f64§gpu_memory_total_mb: f64Trait Implementations§
Source§impl Clone for SystemHealthMetrics
impl Clone for SystemHealthMetrics
Source§fn clone(&self) -> SystemHealthMetrics
fn clone(&self) -> SystemHealthMetrics
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 SystemHealthMetrics
impl Debug for SystemHealthMetrics
Source§impl Default for SystemHealthMetrics
impl Default for SystemHealthMetrics
Source§fn default() -> SystemHealthMetrics
fn default() -> SystemHealthMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemHealthMetrics
impl<'de> Deserialize<'de> for SystemHealthMetrics
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 SystemHealthMetrics
impl RefUnwindSafe for SystemHealthMetrics
impl Send for SystemHealthMetrics
impl Sync for SystemHealthMetrics
impl Unpin for SystemHealthMetrics
impl UnsafeUnpin for SystemHealthMetrics
impl UnwindSafe for SystemHealthMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more