pub struct Header {
pub length: u16,
pub mid: u16,
pub revision: Option<u16>,
pub no_ack_flag: Option<bool>,
pub station_id: Option<u8>,
pub spindle_id: Option<u8>,
pub sequence_number: Option<u8>,
pub message_parts: Option<u8>,
pub message_part_number: Option<u8>,
}
Fields§
§length: u16
§mid: u16
§revision: Option<u16>
§no_ack_flag: Option<bool>
§station_id: Option<u8>
§spindle_id: Option<u8>
§sequence_number: Option<u8>
§message_parts: Option<u8>
§message_part_number: Option<u8>
Implementations§
Trait Implementations§
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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