pub enum ValidationDecision {
Allow,
Block,
NeedsCouncil,
Invalidate,
Revoke,
Supersede,
}Expand description
Validation decision.
Variants§
Trait Implementations§
Source§impl Clone for ValidationDecision
impl Clone for ValidationDecision
Source§fn clone(&self) -> ValidationDecision
fn clone(&self) -> ValidationDecision
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 ValidationDecision
Source§impl Debug for ValidationDecision
impl Debug for ValidationDecision
Source§impl<'de> Deserialize<'de> for ValidationDecision
impl<'de> Deserialize<'de> for ValidationDecision
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ValidationDecision, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ValidationDecision, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ValidationDecision
Source§impl Ord for ValidationDecision
impl Ord for ValidationDecision
Source§fn cmp(&self, other: &ValidationDecision) -> Ordering
fn cmp(&self, other: &ValidationDecision) -> Ordering
1.21.0 (const: unstable) · 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 ValidationDecision
impl PartialEq for ValidationDecision
Source§fn eq(&self, other: &ValidationDecision) -> bool
fn eq(&self, other: &ValidationDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ValidationDecision
impl PartialOrd for ValidationDecision
Source§impl Serialize for ValidationDecision
impl Serialize for ValidationDecision
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ValidationDecision
Auto Trait Implementations§
impl Freeze for ValidationDecision
impl RefUnwindSafe for ValidationDecision
impl Send for ValidationDecision
impl Sync for ValidationDecision
impl Unpin for ValidationDecision
impl UnsafeUnpin for ValidationDecision
impl UnwindSafe for ValidationDecision
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