pub struct EnforcementResult {
pub allowed: bool,
pub factor_id: FactorId,
pub factor_type: FactorType,
pub strength_score: u8,
pub is_phishing_resistant: bool,
pub warnings: Vec<String>,
pub reason: Option<String>,
}Expand description
Factor strength enforcement result
Fields§
§allowed: bool§factor_id: FactorId§factor_type: FactorType§strength_score: u8§is_phishing_resistant: bool§warnings: Vec<String>§reason: Option<String>Trait Implementations§
Source§impl Clone for EnforcementResult
impl Clone for EnforcementResult
Source§fn clone(&self) -> EnforcementResult
fn clone(&self) -> EnforcementResult
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 moreSource§impl Debug for EnforcementResult
impl Debug for EnforcementResult
Source§impl<'de> Deserialize<'de> for EnforcementResult
impl<'de> Deserialize<'de> for EnforcementResult
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
Auto Trait Implementations§
impl Freeze for EnforcementResult
impl RefUnwindSafe for EnforcementResult
impl Send for EnforcementResult
impl Sync for EnforcementResult
impl Unpin for EnforcementResult
impl UnsafeUnpin for EnforcementResult
impl UnwindSafe for EnforcementResult
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