pub struct MID2604rev1 {
pub mode_id: u32,
pub last_change_date: DateTime<Local>,
pub number_of_bolts: u16,
}Expand description
Confirms mode selection and provides metadata.
Fields§
§mode_id: u32Mode ID of the selected mode
last_change_date: DateTime<Local>Date of the last change in the mode setting (format YYYY-MM-DD:HH:MM:SS)
number_of_bolts: u16Number of bolts in the mode
Trait Implementations§
Source§impl Debug for MID2604rev1
impl Debug for MID2604rev1
Source§impl Decode for MID2604rev1
impl Decode for MID2604rev1
Source§impl Default for MID2604rev1
impl Default for MID2604rev1
Source§fn default() -> MID2604rev1
fn default() -> MID2604rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID2604rev1
impl Encode for MID2604rev1
Source§impl Message for MID2604rev1
impl Message for MID2604rev1
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 MID2604rev1
impl PartialEq for MID2604rev1
impl Eq for MID2604rev1
impl StructuralPartialEq for MID2604rev1
Auto Trait Implementations§
impl Freeze for MID2604rev1
impl RefUnwindSafe for MID2604rev1
impl Send for MID2604rev1
impl Sync for MID2604rev1
impl Unpin for MID2604rev1
impl UnwindSafe for MID2604rev1
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