pub struct TempAndRelHumid {
pub centigrade: f32,
pub fahrenheit: f32,
pub humidity_percent: f32,
}
Expand description
Temp and relative humidity from the device after conversion
Fields§
§centigrade: f32
degrees centigrade
fahrenheit: f32
degrees fahrenheit
humidity_percent: f32
relative humidity in percent
Trait Implementations§
Source§impl Debug for TempAndRelHumid
impl Debug for TempAndRelHumid
Source§impl From<&RawTempAndRelHumid> for TempAndRelHumid
impl From<&RawTempAndRelHumid> for TempAndRelHumid
Source§fn from(raw: &RawTempAndRelHumid) -> Self
fn from(raw: &RawTempAndRelHumid) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TempAndRelHumid
impl RefUnwindSafe for TempAndRelHumid
impl Send for TempAndRelHumid
impl Sync for TempAndRelHumid
impl Unpin for TempAndRelHumid
impl UnwindSafe for TempAndRelHumid
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