Struct tinkerforge::air_quality_bricklet::IaqIndexEvent
source · pub struct IaqIndexEvent {
pub iaq_index: i32,
pub iaq_index_accuracy: u8,
}
Fields§
§iaq_index: i32
§iaq_index_accuracy: u8
Trait Implementations§
source§impl Clone for IaqIndexEvent
impl Clone for IaqIndexEvent
source§fn clone(&self) -> IaqIndexEvent
fn clone(&self) -> IaqIndexEvent
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 IaqIndexEvent
impl Debug for IaqIndexEvent
source§impl Default for IaqIndexEvent
impl Default for IaqIndexEvent
source§fn default() -> IaqIndexEvent
fn default() -> IaqIndexEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for IaqIndexEvent
impl FromByteSlice for IaqIndexEvent
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> IaqIndexEvent
fn from_le_byte_slice(bytes: &[u8]) -> IaqIndexEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for IaqIndexEvent
impl Hash for IaqIndexEvent
source§impl PartialEq for IaqIndexEvent
impl PartialEq for IaqIndexEvent
source§fn eq(&self, other: &IaqIndexEvent) -> bool
fn eq(&self, other: &IaqIndexEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IaqIndexEvent
impl Eq for IaqIndexEvent
impl StructuralPartialEq for IaqIndexEvent
Auto Trait Implementations§
impl RefUnwindSafe for IaqIndexEvent
impl Send for IaqIndexEvent
impl Sync for IaqIndexEvent
impl Unpin for IaqIndexEvent
impl UnwindSafe for IaqIndexEvent
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