pub enum ConfirmationOptionKind {
Approve,
Deny,
}Expand description
Whether a confirmation option represents an approval or denial action.
Variants§
Trait Implementations§
Source§impl Clone for ConfirmationOptionKind
impl Clone for ConfirmationOptionKind
Source§fn clone(&self) -> ConfirmationOptionKind
fn clone(&self) -> ConfirmationOptionKind
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 ConfirmationOptionKind
Source§impl Debug for ConfirmationOptionKind
impl Debug for ConfirmationOptionKind
Source§impl<'de> Deserialize<'de> for ConfirmationOptionKind
impl<'de> Deserialize<'de> for ConfirmationOptionKind
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
impl Eq for ConfirmationOptionKind
Source§impl Hash for ConfirmationOptionKind
impl Hash for ConfirmationOptionKind
Source§impl PartialEq for ConfirmationOptionKind
impl PartialEq for ConfirmationOptionKind
Source§fn eq(&self, other: &ConfirmationOptionKind) -> bool
fn eq(&self, other: &ConfirmationOptionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfirmationOptionKind
impl Serialize for ConfirmationOptionKind
impl StructuralPartialEq for ConfirmationOptionKind
Auto Trait Implementations§
impl Freeze for ConfirmationOptionKind
impl RefUnwindSafe for ConfirmationOptionKind
impl Send for ConfirmationOptionKind
impl Sync for ConfirmationOptionKind
impl Unpin for ConfirmationOptionKind
impl UnsafeUnpin for ConfirmationOptionKind
impl UnwindSafe for ConfirmationOptionKind
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