pub struct AirQuality {
pub co2: u16,
pub tvoc: u16,
}Expand description
The result of an air quality measurement.
Fields§
§co2: u16The value of the CO₂ equivalent signal (CO₂eq) in ppm (parts per million).
tvoc: u16The value of the TVOC signal in ppb (parts per billion).
Trait Implementations§
Source§impl Clone for AirQuality
impl Clone for AirQuality
Source§fn clone(&self) -> AirQuality
fn clone(&self) -> AirQuality
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 AirQuality
impl Debug for AirQuality
Source§impl Default for AirQuality
impl Default for AirQuality
Source§fn default() -> AirQuality
fn default() -> AirQuality
Returns the “default value” for a type. Read more
impl Copy for AirQuality
Auto Trait Implementations§
impl Freeze for AirQuality
impl RefUnwindSafe for AirQuality
impl Send for AirQuality
impl Sync for AirQuality
impl Unpin for AirQuality
impl UnwindSafe for AirQuality
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