Struct sgp30::FeatureSet
source · pub struct FeatureSet {
pub product_type: ProductType,
pub product_version: u8,
}
Expand description
The feature set returned by the sensor.
Fields§
§product_type: ProductType
The product type (see ProductType
)
product_version: u8
The product version
Implementations§
Trait Implementations§
source§impl Clone for FeatureSet
impl Clone for FeatureSet
source§fn clone(&self) -> FeatureSet
fn clone(&self) -> FeatureSet
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 FeatureSet
impl Debug for FeatureSet
source§impl PartialEq for FeatureSet
impl PartialEq for FeatureSet
source§fn eq(&self, other: &FeatureSet) -> bool
fn eq(&self, other: &FeatureSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FeatureSet
impl StructuralEq for FeatureSet
impl StructuralPartialEq for FeatureSet
Auto Trait Implementations§
impl RefUnwindSafe for FeatureSet
impl Send for FeatureSet
impl Sync for FeatureSet
impl Unpin for FeatureSet
impl UnwindSafe for FeatureSet
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