pub struct OutputFrame {Show 17 fields
pub start1: u8,
pub start2: u8,
pub frame_length: u16,
pub pm1_0: u16,
pub pm2_5: u16,
pub pm10: u16,
pub pm1_0_atm: u16,
pub pm2_5_atm: u16,
pub pm10_atm: u16,
pub beyond_0_3: u16,
pub beyond_0_5: u16,
pub beyond_1_0: u16,
pub beyond_2_5: u16,
pub beyond_5_0: u16,
pub beyond_10_0: u16,
pub reserved: u16,
pub check: u16,
}Expand description
Contains data reported by the sensor
Fields§
§start1: u8§start2: u8§frame_length: u16§pm1_0: u16§pm2_5: u16§pm10: u16§pm1_0_atm: u16§pm2_5_atm: u16§pm10_atm: u16§beyond_0_3: u16§beyond_0_5: u16§beyond_1_0: u16§beyond_2_5: u16§beyond_5_0: u16§beyond_10_0: u16§reserved: u16§check: u16Implementations§
Source§impl OutputFrame
impl OutputFrame
Trait Implementations§
Source§impl Debug for OutputFrame
impl Debug for OutputFrame
Source§impl Default for OutputFrame
impl Default for OutputFrame
Source§fn default() -> OutputFrame
fn default() -> OutputFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutputFrame
impl RefUnwindSafe for OutputFrame
impl Send for OutputFrame
impl Sync for OutputFrame
impl Unpin for OutputFrame
impl UnsafeUnpin for OutputFrame
impl UnwindSafe for OutputFrame
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