pub struct LiveToasterProps {
pub status: Expr<Signal<String>>,
pub title: Expr<Signal<String>>,
pub description: Expr<Signal<String>>,
pub serial: Expr<Signal<u64>>,
}Expand description
Reads the page’s LiveToast signals and mounts the toast in place when one
is set.
Fields§
§status: Expr<Signal<String>>§title: Expr<Signal<String>>§description: Expr<Signal<String>>§serial: Expr<Signal<u64>>Implementations§
Source§impl LiveToasterProps
impl LiveToasterProps
Sourcepub fn builder() -> LiveToasterPropsBuilder<status, title, description, serial>
pub fn builder() -> LiveToasterPropsBuilder<status, title, description, serial>
Returns a LiveToasterPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiveToasterProps
impl RefUnwindSafe for LiveToasterProps
impl Send for LiveToasterProps
impl Sync for LiveToasterProps
impl Unpin for LiveToasterProps
impl UnsafeUnpin for LiveToasterProps
impl UnwindSafe for LiveToasterProps
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