pub struct NotificationActivation {
pub key: String,
pub action: u32,
}Expand description
What the user pressed.
Fields§
§key: StringThe key the notification was posted under.
action: u320 for the notification itself, 1 or 2 for one of its buttons.
Implementations§
Trait Implementations§
Source§impl Clone for NotificationActivation
impl Clone for NotificationActivation
Source§impl Debug for NotificationActivation
impl Debug for NotificationActivation
impl Eq for NotificationActivation
Source§impl PartialEq for NotificationActivation
impl PartialEq for NotificationActivation
impl StructuralPartialEq for NotificationActivation
Auto Trait Implementations§
impl Freeze for NotificationActivation
impl RefUnwindSafe for NotificationActivation
impl Send for NotificationActivation
impl Sync for NotificationActivation
impl Unpin for NotificationActivation
impl UnsafeUnpin for NotificationActivation
impl UnwindSafe for NotificationActivation
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