pub struct Reading {
pub temperature: i16,
pub humidity: u16,
}
Expand description
This structure provides the result of the reading.
- temperature is the temperature in 1/10 degrees celsius.
- humidity is the humdity in 1/10 percent.
Fields§
§temperature: i16
§humidity: u16
Auto Trait Implementations§
impl Freeze for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnwindSafe for Reading
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