pub struct MID2603rev1 {
pub mode_id: u32,
pub mode_name_size: u16,
pub mode_name: String,
pub number_of_bolts: u16,
pub bolt_data: Vec<BoltData>,
}Expand description
Provides detailed information about a mode, including its bolts.
Fields§
§mode_id: u32Mode ID
mode_name_size: u16Length of the mode name
mode_name: StringThe name of the mode
number_of_bolts: u16Number of bolts in the mode
bolt_data: Vec<BoltData>List of bolts assigned to the mode
Trait Implementations§
Source§impl Debug for MID2603rev1
impl Debug for MID2603rev1
Source§impl Decode for MID2603rev1
impl Decode for MID2603rev1
Source§impl Default for MID2603rev1
impl Default for MID2603rev1
Source§fn default() -> MID2603rev1
fn default() -> MID2603rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID2603rev1
impl Encode for MID2603rev1
Source§impl Message for MID2603rev1
impl Message for MID2603rev1
fn mid() -> u16
fn to_mid(&self) -> u16
fn revision() -> u16
fn to_revision(&self) -> u16
fn message_type() -> MessageType
fn to_message_type(&self) -> MessageType
Source§impl PartialEq for MID2603rev1
impl PartialEq for MID2603rev1
impl Eq for MID2603rev1
impl StructuralPartialEq for MID2603rev1
Auto Trait Implementations§
impl Freeze for MID2603rev1
impl RefUnwindSafe for MID2603rev1
impl Send for MID2603rev1
impl Sync for MID2603rev1
impl Unpin for MID2603rev1
impl UnwindSafe for MID2603rev1
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