pub struct DesktopBannerShow {
pub id: String,
pub title: String,
pub body: String,
pub actions: Vec<DesktopBannerAction>,
pub timeout_ms: Option<u64>,
pub background: DesktopBannerBackground,
}Expand description
One desktop banner to present. The caller waits until it resolves.
Fields§
§id: String§title: String§body: String§actions: Vec<DesktopBannerAction>§timeout_ms: Option<u64>None means wait until a button, dismiss, or replace.
background: DesktopBannerBackgroundTrait Implementations§
Source§impl Clone for DesktopBannerShow
impl Clone for DesktopBannerShow
Auto Trait Implementations§
impl Freeze for DesktopBannerShow
impl RefUnwindSafe for DesktopBannerShow
impl Send for DesktopBannerShow
impl Sync for DesktopBannerShow
impl Unpin for DesktopBannerShow
impl UnsafeUnpin for DesktopBannerShow
impl UnwindSafe for DesktopBannerShow
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