#[repr(u8)]pub enum DecisionCodeV1 {
Allow = 1,
Block = 2,
Warn = 3,
ApprovalRequired = 4,
}Expand description
Decision code for canonical proof envelope v1.
Variants§
Trait Implementations§
Source§impl Clone for DecisionCodeV1
impl Clone for DecisionCodeV1
Source§fn clone(&self) -> DecisionCodeV1
fn clone(&self) -> DecisionCodeV1
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 DecisionCodeV1
impl Debug for DecisionCodeV1
Source§impl<'de> Deserialize<'de> for DecisionCodeV1
impl<'de> Deserialize<'de> for DecisionCodeV1
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 PartialEq for DecisionCodeV1
impl PartialEq for DecisionCodeV1
Source§impl Serialize for DecisionCodeV1
impl Serialize for DecisionCodeV1
impl Copy for DecisionCodeV1
impl Eq for DecisionCodeV1
impl StructuralPartialEq for DecisionCodeV1
Auto Trait Implementations§
impl Freeze for DecisionCodeV1
impl RefUnwindSafe for DecisionCodeV1
impl Send for DecisionCodeV1
impl Sync for DecisionCodeV1
impl Unpin for DecisionCodeV1
impl UnsafeUnpin for DecisionCodeV1
impl UnwindSafe for DecisionCodeV1
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