pub enum NotificationResponse {
None,
ActionButton(String),
CloseButton(String),
Click,
Reply(String),
}
Expand description
Response from the Notification
Variants§
None
No interaction has occured
ActionButton(String)
User clicked on an action button with the given name
CloseButton(String)
User clicked on the close button with the given name
Click
User clicked the notification directly
Reply(String)
User submitted text to the input text field
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NotificationResponse
impl RefUnwindSafe for NotificationResponse
impl Send for NotificationResponse
impl Sync for NotificationResponse
impl Unpin for NotificationResponse
impl UnwindSafe for NotificationResponse
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