pub struct NotificationFlashesProps { /* private fields */ }
Expand description
- NotificationFlashes
- Use this to present a axum_flash message with a notification
Implementations§
Source§impl NotificationFlashesProps
impl NotificationFlashesProps
Sourcepub fn builder() -> NotificationFlashesPropsBuilder<((),)>
pub fn builder() -> NotificationFlashesPropsBuilder<((),)>
Create a builder for building NotificationFlashesProps
.
On the builder, call .flashes(...)
to set the values of the fields.
Finally, call .build()
to create the instance of NotificationFlashesProps
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NotificationFlashesProps
impl RefUnwindSafe for NotificationFlashesProps
impl Send for NotificationFlashesProps
impl Sync for NotificationFlashesProps
impl Unpin for NotificationFlashesProps
impl UnwindSafe for NotificationFlashesProps
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