pub struct ActionId(pub u32);Expand description
Identifier for a notification action button. You choose the number; it is
echoed back in crate::Event::NotificationAction when the user clicks the
action.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for ActionId
impl Eq for ActionId
impl StructuralPartialEq for ActionId
Auto Trait Implementations§
impl Freeze for ActionId
impl RefUnwindSafe for ActionId
impl Send for ActionId
impl Sync for ActionId
impl Unpin for ActionId
impl UnsafeUnpin for ActionId
impl UnwindSafe for ActionId
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