pub struct Report {
pub more_status_updates: bool,
pub wake_up_request: bool,
pub session_id: u8,
pub status: u8,
pub duration: Option<u8>,
}Expand description
Supervision Report (0x6c 0x02).
Fields§
§more_status_updates: boolThe more_status_updates field (bits 7..8).
wake_up_request: boolThe wake_up_request field (bits 6..7).
session_id: u8The session_id field (bits 0..6).
status: u8The status field.
duration: Option<u8>The duration 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