pub struct LiveToast {
pub status: Signal<String>,
pub title: Signal<String>,
pub description: Signal<String>,
pub serial: Signal<u64>,
}Expand description
Owns the signals that mount a Notification in place without navigation.
Fields§
§status: Signal<String>Sonner status token; empty means no toast mounted.
title: Signal<String>The toast title.
description: Signal<String>The optional supporting line; empty renders no description.
serial: Signal<u64>Bumped on every mount so an identical repeat still re-renders.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiveToast
impl RefUnwindSafe for LiveToast
impl Send for LiveToast
impl Sync for LiveToast
impl Unpin for LiveToast
impl UnsafeUnpin for LiveToast
impl UnwindSafe for LiveToast
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