pub struct NotificationActionInvoked {
pub id: String,
pub action_id: String,
}Expand description
Emitted when the user activates an action button on a desktop notification. Routed as on_notification_action(id, action_id) and through on("notification_action", id, fn).
Fields§
§id: StringNotification id, matching the notify_ex(id, ...) call that raised it.
action_id: StringAction id, matching one entry of that call’s action spec.
Trait Implementations§
Source§impl Clone for NotificationActionInvoked
impl Clone for NotificationActionInvoked
Source§fn clone(&self) -> NotificationActionInvoked
fn clone(&self) -> NotificationActionInvoked
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 NotificationActionInvoked
impl Debug for NotificationActionInvoked
impl Message for NotificationActionInvoked
Auto Trait Implementations§
impl Freeze for NotificationActionInvoked
impl RefUnwindSafe for NotificationActionInvoked
impl Send for NotificationActionInvoked
impl Sync for NotificationActionInvoked
impl Unpin for NotificationActionInvoked
impl UnsafeUnpin for NotificationActionInvoked
impl UnwindSafe for NotificationActionInvoked
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.