pub struct AlgorithmResult {
pub eco2: u16,
pub etvoc: u16,
pub raw_current: u8,
pub raw_voltage: u16,
}
Expand description
Algorithm result
Fields§
§eco2: u16
eCO2 result in ppm
etvoc: u16
eTVOC result in ppb
raw_current: u8
Raw sensor current in uA
raw_voltage: u16
Raw sensor voltage (1023 = 1.65V)
Trait Implementations§
Source§impl Clone for AlgorithmResult
impl Clone for AlgorithmResult
Source§fn clone(&self) -> AlgorithmResult
fn clone(&self) -> AlgorithmResult
Returns a copy 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 AlgorithmResult
impl Debug for AlgorithmResult
Source§impl Default for AlgorithmResult
impl Default for AlgorithmResult
Source§fn default() -> AlgorithmResult
fn default() -> AlgorithmResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlgorithmResult
impl PartialEq for AlgorithmResult
impl Copy for AlgorithmResult
impl StructuralPartialEq for AlgorithmResult
Auto Trait Implementations§
impl Freeze for AlgorithmResult
impl RefUnwindSafe for AlgorithmResult
impl Send for AlgorithmResult
impl Sync for AlgorithmResult
impl Unpin for AlgorithmResult
impl UnwindSafe for AlgorithmResult
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