Struct google_androidmanagement1::api::HardwareStatus[][src]

pub struct HardwareStatus {
    pub battery_temperatures: Option<Vec<f32>>,
    pub cpu_temperatures: Option<Vec<f32>>,
    pub cpu_usages: Option<Vec<f32>>,
    pub create_time: Option<String>,
    pub fan_speeds: Option<Vec<f32>>,
    pub gpu_temperatures: Option<Vec<f32>>,
    pub skin_temperatures: Option<Vec<f32>>,
}

Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.

This type is not used in any activity, and only used as part of another schema.

Fields

battery_temperatures: Option<Vec<f32>>

Current battery temperatures in Celsius for each battery on the device.

cpu_temperatures: Option<Vec<f32>>

Current CPU temperatures in Celsius for each CPU on the device.

cpu_usages: Option<Vec<f32>>

CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system.

create_time: Option<String>

The time the measurements were taken.

fan_speeds: Option<Vec<f32>>

Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system.

gpu_temperatures: Option<Vec<f32>>

Current GPU temperatures in Celsius for each GPU on the device.

skin_temperatures: Option<Vec<f32>>

Current device skin temperatures in Celsius.

Trait Implementations

impl Clone for HardwareStatus[src]

impl Debug for HardwareStatus[src]

impl Default for HardwareStatus[src]

impl<'de> Deserialize<'de> for HardwareStatus[src]

impl Part for HardwareStatus[src]

impl Serialize for HardwareStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.