pub enum Confirmation {
Allow,
Deny,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for Confirmation
impl Clone for Confirmation
Source§fn clone(&self) -> Confirmation
fn clone(&self) -> Confirmation
Returns a duplicate 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 Debug for Confirmation
impl Debug for Confirmation
Source§impl Default for Confirmation
impl Default for Confirmation
Source§fn default() -> Confirmation
fn default() -> Confirmation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Confirmation
impl<'de> Deserialize<'de> for Confirmation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for Confirmation
impl Hash for Confirmation
Source§impl Ord for Confirmation
impl Ord for Confirmation
Source§fn cmp(&self, other: &Confirmation) -> Ordering
fn cmp(&self, other: &Confirmation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Confirmation
impl PartialEq for Confirmation
Source§impl PartialOrd for Confirmation
impl PartialOrd for Confirmation
Source§impl Serialize for Confirmation
impl Serialize for Confirmation
impl Copy for Confirmation
impl Eq for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Freeze for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
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