pub struct Ppb { /* private fields */ }Expand description
A gas concentration, in parts per billion (ppb) — used for formaldehyde (HCHO).
Obtain the physical value with f32::from (or .into()).
Trait Implementations§
impl Copy for Ppb
Source§impl<'de> Deserialize<'de> for Ppb
impl<'de> Deserialize<'de> for Ppb
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ppb
impl StructuralPartialEq for Ppb
Auto Trait Implementations§
impl Freeze for Ppb
impl RefUnwindSafe for Ppb
impl Send for Ppb
impl Sync for Ppb
impl Unpin for Ppb
impl UnsafeUnpin for Ppb
impl UnwindSafe for Ppb
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