pub struct Alert<'a> {
pub title: &'a str,
pub detail: &'a str,
}Expand description
Contextual notice banner (role="status").
Fields§
§title: &'a str§detail: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Alert<'a>
impl<'a> Freeze for Alert<'a>
impl<'a> Move for Alert<'a>
impl<'a> RefUnwindSafe for Alert<'a>
impl<'a> Send for Alert<'a>
impl<'a> Sync for Alert<'a>
impl<'a> Unpin for Alert<'a>
impl<'a> UnsafeUnpin for Alert<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for Alert<'a>where
&'a str: UnwindSafe,
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