pub struct OsdMessage {
pub flags: OsdMessageFlag,
pub logo: i8,
pub priority: OsdMessagePriority,
pub text: String,
}Expand description
The message on a unit’s output, as the unit last reported it.
The unit holds it until it restarts.
Fields§
§flags: OsdMessageFlagWhether a message is set and shown, whether the unit can show one, and
whether it refused the write it answers. Without
SET the other fields are empty.
logo: i8The logo shown with it: 0 the built-in logo, -1 none, 1 to 5 a slot.
priority: OsdMessagePriorityWhere it stands against the unit’s own messages.
text: StringIts markup.
Trait Implementations§
Source§impl Clone for OsdMessage
impl Clone for OsdMessage
Source§impl Debug for OsdMessage
impl Debug for OsdMessage
impl Eq for OsdMessage
Source§impl PartialEq for OsdMessage
impl PartialEq for OsdMessage
impl StructuralPartialEq for OsdMessage
Auto Trait Implementations§
impl Freeze for OsdMessage
impl RefUnwindSafe for OsdMessage
impl Send for OsdMessage
impl Sync for OsdMessage
impl Unpin for OsdMessage
impl UnsafeUnpin for OsdMessage
impl UnwindSafe for OsdMessage
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