pub struct MID1000rev1 {
pub error_code: String,
pub timestamp: DateTime<Local>,
pub number_of_data_fields: u16,
pub data_fields: Vec<u8>,
}Expand description
An alarm has appeared in the controller. This message replaces the old MID 0071.
Fields§
§error_code: StringThe alarm error code.
timestamp: DateTime<Local>Timestamp for the alarm (YYYY-MM-DD:HH:MM:SS).
number_of_data_fields: u16The number of variable data fields included in this message.
data_fields: Vec<u8>The variable data fields associated with the alarm.
Trait Implementations§
Source§impl Debug for MID1000rev1
impl Debug for MID1000rev1
Source§impl Decode for MID1000rev1
impl Decode for MID1000rev1
Source§impl Default for MID1000rev1
impl Default for MID1000rev1
Source§fn default() -> MID1000rev1
fn default() -> MID1000rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID1000rev1
impl Encode for MID1000rev1
Source§impl Message for MID1000rev1
impl Message for MID1000rev1
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 MID1000rev1
impl PartialEq for MID1000rev1
impl Eq for MID1000rev1
impl StructuralPartialEq for MID1000rev1
Auto Trait Implementations§
impl Freeze for MID1000rev1
impl RefUnwindSafe for MID1000rev1
impl Send for MID1000rev1
impl Sync for MID1000rev1
impl Unpin for MID1000rev1
impl UnwindSafe for MID1000rev1
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