pub enum DeleteChoice {
Yes,
No,
}Expand description
An answer to the question asked before deleting.
Variants§
Implementations§
Source§impl DeleteChoice
impl DeleteChoice
Sourcepub const ALL: [DeleteChoice; 2]
pub const ALL: [DeleteChoice; 2]
Every answer, in the order shown.
Sourcepub fn ask() -> Ask<DeleteChoice>
pub fn ask() -> Ask<DeleteChoice>
The question asked before deleting (DELETE_QUESTION): focused
on No, which Cancel answers too.
Trait Implementations§
Source§impl Clone for DeleteChoice
impl Clone for DeleteChoice
Source§fn clone(&self) -> DeleteChoice
fn clone(&self) -> DeleteChoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeleteChoice
Source§impl Debug for DeleteChoice
impl Debug for DeleteChoice
impl Eq for DeleteChoice
Source§impl PartialEq for DeleteChoice
impl PartialEq for DeleteChoice
impl StructuralPartialEq for DeleteChoice
Auto Trait Implementations§
impl Freeze for DeleteChoice
impl RefUnwindSafe for DeleteChoice
impl Send for DeleteChoice
impl Sync for DeleteChoice
impl Unpin for DeleteChoice
impl UnsafeUnpin for DeleteChoice
impl UnwindSafe for DeleteChoice
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