[][src]Struct embedded_ccs811::AlgorithmResult

pub struct AlgorithmResult {
    pub eco2: u16,
    pub etvoc: u16,
    pub raw_current: u8,
    pub raw_voltage: u16,
}

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

impl Clone for AlgorithmResult[src]

impl Copy for AlgorithmResult[src]

impl Debug for AlgorithmResult[src]

impl PartialEq<AlgorithmResult> for AlgorithmResult[src]

impl StructuralPartialEq for AlgorithmResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.