pub struct HwSnapshot {
pub v: u8,
pub ts_us: i64,
pub signals: Fields,
}Expand description
A periodic hardware sample: temperatures, per-core frequency, power rails,
pressure-stall, per-iface counters, USB speed, throttle flags. Every reading
rides in the open s map so a new signal does not need a schema bump.
Fields§
§v: u8Wire version.
ts_us: i64Microsecond epoch timestamp.
signals: FieldsOpen map of dotted signal keys to numeric or string readings.
Implementations§
Trait Implementations§
Source§impl Clone for HwSnapshot
impl Clone for HwSnapshot
Source§impl Debug for HwSnapshot
impl Debug for HwSnapshot
Source§impl<'de> Deserialize<'de> for HwSnapshot
impl<'de> Deserialize<'de> for HwSnapshot
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
Source§impl PartialEq for HwSnapshot
impl PartialEq for HwSnapshot
Source§impl Serialize for HwSnapshot
impl Serialize for HwSnapshot
impl StructuralPartialEq for HwSnapshot
Auto Trait Implementations§
impl Freeze for HwSnapshot
impl RefUnwindSafe for HwSnapshot
impl Send for HwSnapshot
impl Sync for HwSnapshot
impl Unpin for HwSnapshot
impl UnsafeUnpin for HwSnapshot
impl UnwindSafe for HwSnapshot
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