pub struct ConfirmationConfig {
pub title: String,
pub message: String,
pub confirm_text: String,
pub cancel_text: String,
pub is_dangerous: bool,
}Expand description
Confirmation dialog configuration.
Fields§
§title: String§message: String§confirm_text: String§cancel_text: String§is_dangerous: boolTrait Implementations§
Source§impl Clone for ConfirmationConfig
impl Clone for ConfirmationConfig
Source§impl Debug for ConfirmationConfig
impl Debug for ConfirmationConfig
Auto Trait Implementations§
impl Freeze for ConfirmationConfig
impl RefUnwindSafe for ConfirmationConfig
impl Send for ConfirmationConfig
impl Sync for ConfirmationConfig
impl Unpin for ConfirmationConfig
impl UnsafeUnpin for ConfirmationConfig
impl UnwindSafe for ConfirmationConfig
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