pub enum OperationSensitivity {
Low,
Medium,
High,
Critical,
}Expand description
Operation sensitivity level
Variants§
Implementations§
Source§impl OperationSensitivity
impl OperationSensitivity
Sourcepub fn requires_step_up(&self) -> bool
pub fn requires_step_up(&self) -> bool
Check if step-up required
Sourcepub fn required_freshness(&self) -> i64
pub fn required_freshness(&self) -> i64
Get required verification freshness (seconds)
Trait Implementations§
Source§impl Clone for OperationSensitivity
impl Clone for OperationSensitivity
Source§fn clone(&self) -> OperationSensitivity
fn clone(&self) -> OperationSensitivity
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 OperationSensitivity
Source§impl Debug for OperationSensitivity
impl Debug for OperationSensitivity
Source§impl<'de> Deserialize<'de> for OperationSensitivity
impl<'de> Deserialize<'de> for OperationSensitivity
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 OperationSensitivity
Source§impl Ord for OperationSensitivity
impl Ord for OperationSensitivity
Source§fn cmp(&self, other: &OperationSensitivity) -> Ordering
fn cmp(&self, other: &OperationSensitivity) -> 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 OperationSensitivity
impl PartialEq for OperationSensitivity
Source§fn eq(&self, other: &OperationSensitivity) -> bool
fn eq(&self, other: &OperationSensitivity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OperationSensitivity
impl PartialOrd for OperationSensitivity
Source§impl Serialize for OperationSensitivity
impl Serialize for OperationSensitivity
impl StructuralPartialEq for OperationSensitivity
Auto Trait Implementations§
impl Freeze for OperationSensitivity
impl RefUnwindSafe for OperationSensitivity
impl Send for OperationSensitivity
impl Sync for OperationSensitivity
impl Unpin for OperationSensitivity
impl UnsafeUnpin for OperationSensitivity
impl UnwindSafe for OperationSensitivity
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