pub struct LocalNotificationShow {
pub id: String,
pub title: String,
pub body: String,
pub activation_token: String,
pub deliver_at_ms: Option<u64>,
pub silent: bool,
}Expand description
One local notification to post or replace.
Fields§
§id: String§title: String§body: String§activation_token: StringOpaque single-use token the OS payload carries and hands back on tap.
The target itself lives in the host’s intent store, so no platform’s
payload limit constrains it and no business parameter reaches a launch
command line. Never empty — an activate target has one too.
deliver_at_ms: Option<u64>§silent: boolTrait Implementations§
Source§impl Clone for LocalNotificationShow
impl Clone for LocalNotificationShow
Auto Trait Implementations§
impl Freeze for LocalNotificationShow
impl RefUnwindSafe for LocalNotificationShow
impl Send for LocalNotificationShow
impl Sync for LocalNotificationShow
impl Unpin for LocalNotificationShow
impl UnsafeUnpin for LocalNotificationShow
impl UnwindSafe for LocalNotificationShow
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