pub struct Report {
pub scale_bit2: bool,
pub rate_type: u8,
pub meter_type: u8,
pub value: Value,
pub delta_time: Option<u16>,
pub previous_value: Option<i32>,
pub scale2: Option<u8>,
}Expand description
Meter Report (0x32 0x02).
Fields§
§scale_bit2: boolThe scale_bit2 field (bits 7..8).
rate_type: u8The rate_type field (bits 5..7).
meter_type: u8The meter_type field (bits 0..5).
value: ValueThe value field.
delta_time: Option<u16>The delta_time field.
previous_value: Option<i32>The previous_value field.
scale2: Option<u8>The scale2 field.
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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