pub struct KrakenData {
pub liquid_temp: u8,
pub fan_speed: u16,
pub pump_speed: u16,
pub firmware_version: (u8, u16, u8),
}
Expand description
This struct tracks the details returned by the device when we query it.
Fields§
§liquid_temp: u8
The temp of the liquid in degrees C.
fan_speed: u16
The current speed of the fan as RPM.
pump_speed: u16
The current speed of the pump as RPM.
firmware_version: (u8, u16, u8)
The current firmware version as (Major, Minor, Revision).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KrakenData
impl RefUnwindSafe for KrakenData
impl Send for KrakenData
impl Sync for KrakenData
impl Unpin for KrakenData
impl UnwindSafe for KrakenData
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