pub struct Measurements {
pub temperature: f32,
pub pressure: f32,
pub humidity: f32,
}Expand description
Measurement data
Fields§
§temperature: f32temperature in degrees celsius
pressure: f32pressure in pascals
humidity: f32percent relative humidity (0 with BMP280)
Auto Trait Implementations§
impl Freeze for Measurements
impl RefUnwindSafe for Measurements
impl Send for Measurements
impl Sync for Measurements
impl Unpin for Measurements
impl UnwindSafe for Measurements
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