Struct mijia::Readings [−][src]
A set of readings from a Mijia sensor.
Fields
temperature: f32
Temperature in ºC, with 2 decimal places of precision
humidity: u8
Percent humidity
battery_voltage: u16
Voltage in millivolts
battery_percent: u16
Inferred from battery_voltage
with a bit of hand-waving.
Trait Implementations
impl Clone for Readings
[src]
impl Debug for Readings
[src]
impl Display for Readings
[src]
impl PartialEq<Readings> for Readings
[src]
impl StructuralPartialEq for Readings
[src]
Auto Trait Implementations
impl RefUnwindSafe for Readings
impl Send for Readings
impl Sync for Readings
impl Unpin for Readings
impl UnwindSafe for Readings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,