pub struct HistoryAggregates {
pub co2: Option<f64>,
pub temperature: Option<f64>,
pub pressure: Option<f64>,
pub humidity: Option<f64>,
pub radon: Option<f64>,
}Expand description
Aggregate values for a single metric set.
Fields§
§co2: Option<f64>CO2 in ppm.
temperature: Option<f64>Temperature in Celsius.
pressure: Option<f64>Pressure in hPa.
humidity: Option<f64>Humidity percentage.
radon: Option<f64>Radon in Bq/m3 (for radon devices).
Trait Implementations§
Source§impl Clone for HistoryAggregates
impl Clone for HistoryAggregates
Source§fn clone(&self) -> HistoryAggregates
fn clone(&self) -> HistoryAggregates
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistoryAggregates
impl Debug for HistoryAggregates
Source§impl<'de> Deserialize<'de> for HistoryAggregates
impl<'de> Deserialize<'de> for HistoryAggregates
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HistoryAggregates
impl RefUnwindSafe for HistoryAggregates
impl Send for HistoryAggregates
impl Sync for HistoryAggregates
impl Unpin for HistoryAggregates
impl UnwindSafe for HistoryAggregates
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