pub struct MID0076rev1 {
pub alarm_status: AlarmStatus,
pub error_code: String,
pub controller_ready_status: ControllerReadyStatus,
pub tool_ready_status: ToolReadyStatus,
pub timestamp: DateTime<Local>,
}
Expand description
Provides the status of an alarm after subscription. This message is used to inform the integrator of active alarms.
Fields§
§alarm_status: AlarmStatus
Alarm status (0=no alarm, 1=alarm active).
error_code: String
The alarm error code.
controller_ready_status: ControllerReadyStatus
Controller ready status (1=OK, 0=NOK).
tool_ready_status: ToolReadyStatus
Tool ready status (1=OK, 0=NOK).
timestamp: DateTime<Local>
Timestamp of the alarm (YYYY-MM-DD:HH:MM:SS).
Trait Implementations§
Source§impl Debug for MID0076rev1
impl Debug for MID0076rev1
Source§impl Decode for MID0076rev1
impl Decode for MID0076rev1
Source§impl Default for MID0076rev1
impl Default for MID0076rev1
Source§fn default() -> MID0076rev1
fn default() -> MID0076rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID0076rev1
impl Encode for MID0076rev1
Source§impl Message for MID0076rev1
impl Message for MID0076rev1
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 MID0076rev1
impl PartialEq for MID0076rev1
impl Eq for MID0076rev1
impl StructuralPartialEq for MID0076rev1
Auto Trait Implementations§
impl Freeze for MID0076rev1
impl RefUnwindSafe for MID0076rev1
impl Send for MID0076rev1
impl Sync for MID0076rev1
impl Unpin for MID0076rev1
impl UnwindSafe for MID0076rev1
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