pub struct ConfirmationDialogProps {
pub title: String,
pub message: String,
pub approve_label: String,
pub decline_label: String,
pub is_open: bool,
pub on_approve: Callback<()>,
pub on_decline: Callback<()>,
pub dialog_type: DialogType,
}
Fields§
§title: String
§message: String
§approve_label: String
§decline_label: String
§is_open: bool
§on_approve: Callback<()>
§on_decline: Callback<()>
§dialog_type: DialogType
Trait Implementations§
Source§impl Clone for ConfirmationDialogProps
impl Clone for ConfirmationDialogProps
Source§fn clone(&self) -> ConfirmationDialogProps
fn clone(&self) -> ConfirmationDialogProps
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for ConfirmationDialogProps
impl PartialEq for ConfirmationDialogProps
Source§impl Properties for ConfirmationDialogProps
impl Properties for ConfirmationDialogProps
impl StructuralPartialEq for ConfirmationDialogProps
Auto Trait Implementations§
impl Freeze for ConfirmationDialogProps
impl !RefUnwindSafe for ConfirmationDialogProps
impl !Send for ConfirmationDialogProps
impl !Sync for ConfirmationDialogProps
impl Unpin for ConfirmationDialogProps
impl !UnwindSafe for ConfirmationDialogProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)