pub struct MID0111rev1 {
pub display_duration: u16,
pub removal_condition: RemovalCondition,
pub lines: Vec<String>,
}
Expand description
Display user text on a graphical display. Allows setting display duration and acknowledgment settings.
Fields§
§display_duration: u16
Time duration for the text display in seconds. Four ASCII digits, range: 0000-9999.
removal_condition: RemovalCondition
Removal condition: 0 = acknowledge or wait expiration time, 1 = acknowledge required.
lines: Vec<String>
The first line (header) of the message (25 ASCII characters, right-padded with spaces).
Trait Implementations§
Source§impl Debug for MID0111rev1
impl Debug for MID0111rev1
Source§impl Decode for MID0111rev1
impl Decode for MID0111rev1
Source§impl Default for MID0111rev1
impl Default for MID0111rev1
Source§fn default() -> MID0111rev1
fn default() -> MID0111rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID0111rev1
impl Encode for MID0111rev1
Source§impl Message for MID0111rev1
impl Message for MID0111rev1
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 MID0111rev1
impl PartialEq for MID0111rev1
impl Eq for MID0111rev1
impl StructuralPartialEq for MID0111rev1
Auto Trait Implementations§
impl Freeze for MID0111rev1
impl RefUnwindSafe for MID0111rev1
impl Send for MID0111rev1
impl Sync for MID0111rev1
impl Unpin for MID0111rev1
impl UnwindSafe for MID0111rev1
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