pub struct NotificationActivation {
pub id: String,
pub action: Option<String>,
pub reply: Option<String>,
}Expand description
The user clicked a notification, or one of its actions, or replied.
Fields§
§id: StringThe notification’s id.
action: Option<String>The action’s id; None for the notification itself.
reply: Option<String>What the user typed, for a reply action.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.