pub struct Measurements<E> {
    pub temperature: f32,
    pub pressure: f32,
    pub humidity: f32,
    /* private fields */
}
Expand description

Measurement data

Fields

temperature: f32

temperature in degrees celsius

pressure: f32

pressure in pascals

humidity: f32

percent relative humidity (0 with BMP280)

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.