pub struct MeasuredValuesSen69c {
pub pm_1_0: Option<MicrogramsPerCubicMeter>,
pub pm_2_5: Option<MicrogramsPerCubicMeter>,
pub pm_4_0: Option<MicrogramsPerCubicMeter>,
pub pm_10_0: Option<MicrogramsPerCubicMeter>,
pub ambient_humidity: Option<Percent>,
pub ambient_temperature: Option<DegCelsius>,
pub voc_index: Option<Index>,
pub nox_index: Option<Index>,
pub hcho: Option<Ppb>,
pub co2: Option<Ppm>,
}Expand description
Measured values returned by a SEN69C (PM, RH/T, VOC, NOx, formaldehyde and CO₂).
A field is None when that value is unavailable (for example, when no
measurement has been running for at least one second).
Fields§
§pm_1_0: Option<MicrogramsPerCubicMeter>Mass Concentration PM1.0
pm_2_5: Option<MicrogramsPerCubicMeter>Mass Concentration PM2.5
pm_4_0: Option<MicrogramsPerCubicMeter>Mass Concentration PM4.0
pm_10_0: Option<MicrogramsPerCubicMeter>Mass Concentration PM10.0
ambient_humidity: Option<Percent>Ambient Humidity
ambient_temperature: Option<DegCelsius>Ambient Temperature
voc_index: Option<Index>VOC Index
nox_index: Option<Index>NOx Index
hcho: Option<Ppb>Formaldehyde concentration
co2: Option<Ppm>CO2 concentration
Trait Implementations§
Source§impl Clone for MeasuredValuesSen69c
impl Clone for MeasuredValuesSen69c
Source§fn clone(&self) -> MeasuredValuesSen69c
fn clone(&self) -> MeasuredValuesSen69c
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MeasuredValuesSen69c
impl Debug for MeasuredValuesSen69c
Source§impl<'de> Deserialize<'de> for MeasuredValuesSen69c
impl<'de> Deserialize<'de> for MeasuredValuesSen69c
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
impl Eq for MeasuredValuesSen69c
Source§impl PartialEq for MeasuredValuesSen69c
impl PartialEq for MeasuredValuesSen69c
Source§fn eq(&self, other: &MeasuredValuesSen69c) -> bool
fn eq(&self, other: &MeasuredValuesSen69c) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MeasuredValuesSen69c
impl Serialize for MeasuredValuesSen69c
impl StructuralPartialEq for MeasuredValuesSen69c
Auto Trait Implementations§
impl Freeze for MeasuredValuesSen69c
impl RefUnwindSafe for MeasuredValuesSen69c
impl Send for MeasuredValuesSen69c
impl Sync for MeasuredValuesSen69c
impl Unpin for MeasuredValuesSen69c
impl UnsafeUnpin for MeasuredValuesSen69c
impl UnwindSafe for MeasuredValuesSen69c
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