pub struct UserFactorReport {
pub user_id: UserId,
pub total_factors: usize,
pub phishing_resistant_count: usize,
pub max_strength_score: u8,
pub min_strength_score: u8,
pub factor_breakdown: HashMap<FactorType, usize>,
pub has_webauthn: bool,
pub generated_at: DateTime<Utc>,
}Expand description
User factor strength report
Fields§
§user_id: UserId§total_factors: usize§phishing_resistant_count: usize§max_strength_score: u8§min_strength_score: u8§factor_breakdown: HashMap<FactorType, usize>§has_webauthn: bool§generated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for UserFactorReport
impl Clone for UserFactorReport
Source§fn clone(&self) -> UserFactorReport
fn clone(&self) -> UserFactorReport
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 UserFactorReport
impl Debug for UserFactorReport
Source§impl<'de> Deserialize<'de> for UserFactorReport
impl<'de> Deserialize<'de> for UserFactorReport
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 UserFactorReport
impl RefUnwindSafe for UserFactorReport
impl Send for UserFactorReport
impl Sync for UserFactorReport
impl Unpin for UserFactorReport
impl UnsafeUnpin for UserFactorReport
impl UnwindSafe for UserFactorReport
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