pub struct NotificationAction {
pub id: String,
pub label: String,
}Expand description
Interactive action button attached to a desktop notification.
Fields§
§id: String§label: StringTrait Implementations§
Source§impl Clone for NotificationAction
impl Clone for NotificationAction
Source§impl Debug for NotificationAction
impl Debug for NotificationAction
impl Eq for NotificationAction
Source§impl PartialEq for NotificationAction
impl PartialEq for NotificationAction
impl StructuralPartialEq for NotificationAction
Auto Trait Implementations§
impl Forget for NotificationAction
impl Freeze for NotificationAction
impl Move for NotificationAction
impl RefUnwindSafe for NotificationAction
impl Send for NotificationAction
impl Sync for NotificationAction
impl Unpin for NotificationAction
impl UnsafeUnpin for NotificationAction
impl UnwindSafe for NotificationAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.