Struct tinkerforge::co2_v2_bricklet::AllValues
source · pub struct AllValues {
pub co2_concentration: u16,
pub temperature: i16,
pub humidity: u16,
}
Fields§
§co2_concentration: u16
§temperature: i16
§humidity: u16
Trait Implementations§
source§impl FromByteSlice for AllValues
impl FromByteSlice for AllValues
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]) -> AllValues
fn from_le_byte_slice(bytes: &[u8]) -> AllValues
Deserialize the implementing type from a byte slice.
source§impl PartialEq for AllValues
impl PartialEq for AllValues
impl Copy for AllValues
impl Eq for AllValues
impl StructuralPartialEq for AllValues
Auto Trait Implementations§
impl RefUnwindSafe for AllValues
impl Send for AllValues
impl Sync for AllValues
impl Unpin for AllValues
impl UnwindSafe for AllValues
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