pub enum HandsetStatusMessage {
Display {
text: String,
timeout_seconds: u8,
priority: Option<NotificationPriority>,
},
Clear {
priority: Option<NotificationPriority>,
},
}Expand description
Device-wide status-line mutation.
The optional priority selects a protocol-specific notification plane. A clear with a priority removes only that plane; an unqualified clear removes the ordinary status message.
Variants§
Display
Fields
§
priority: Option<NotificationPriority>Clear
Fields
§
priority: Option<NotificationPriority>Trait Implementations§
Source§impl Clone for HandsetStatusMessage
impl Clone for HandsetStatusMessage
Source§fn clone(&self) -> HandsetStatusMessage
fn clone(&self) -> HandsetStatusMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandsetStatusMessage
impl Debug for HandsetStatusMessage
impl Eq for HandsetStatusMessage
Source§impl PartialEq for HandsetStatusMessage
impl PartialEq for HandsetStatusMessage
impl StructuralPartialEq for HandsetStatusMessage
Auto Trait Implementations§
impl Freeze for HandsetStatusMessage
impl RefUnwindSafe for HandsetStatusMessage
impl Send for HandsetStatusMessage
impl Sync for HandsetStatusMessage
impl Unpin for HandsetStatusMessage
impl UnsafeUnpin for HandsetStatusMessage
impl UnwindSafe for HandsetStatusMessage
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