pub enum ConfirmSource {
Default,
Explicit,
}Expand description
The provenance of a submitted confirmation value.
Variants§
Default
The user submitted the configured default without selecting an answer.
Explicit
The user selected an answer with a key before submitting.
Trait Implementations§
Source§impl Clone for ConfirmSource
impl Clone for ConfirmSource
Source§fn clone(&self) -> ConfirmSource
fn clone(&self) -> ConfirmSource
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 moreSource§impl Debug for ConfirmSource
impl Debug for ConfirmSource
Source§impl PartialEq for ConfirmSource
impl PartialEq for ConfirmSource
Source§fn eq(&self, other: &ConfirmSource) -> bool
fn eq(&self, other: &ConfirmSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ConfirmSource
impl Eq for ConfirmSource
impl StructuralPartialEq for ConfirmSource
Auto Trait Implementations§
impl Freeze for ConfirmSource
impl RefUnwindSafe for ConfirmSource
impl Send for ConfirmSource
impl Sync for ConfirmSource
impl Unpin for ConfirmSource
impl UnsafeUnpin for ConfirmSource
impl UnwindSafe for ConfirmSource
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