pub struct Measurement {
pub co2: f32,
pub temp: f32,
pub rh: f32,
}
Expand description
Scd30 measurement object
Fields§
§co2: f32
CO2 concentration in parts-per-million (PPM) Range: 0 - 10,000
temp: f32
Temperature in degrees celsius Range: -40 - 125 C
rh: f32
Relative Humidity (%) Range: 0 - 100
Trait Implementations§
Source§impl Clone for Measurement
impl Clone for Measurement
Source§fn clone(&self) -> Measurement
fn clone(&self) -> Measurement
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 Measurement
impl Debug for Measurement
Source§impl PartialEq for Measurement
impl PartialEq for Measurement
impl StructuralPartialEq for Measurement
Auto Trait Implementations§
impl Freeze for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnwindSafe for Measurement
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