pub struct EnrolledFactor {
pub factor_id: AuthFactorId,
pub label: String,
pub enrolled_at: u64,
}Expand description
Record of an enrolled authentication factor.
Fields§
§factor_id: AuthFactorIdWhich factor type.
label: StringHuman-readable label (e.g., SSH key fingerprint, “master password”).
enrolled_at: u64When this factor was enrolled (Unix epoch seconds).
Trait Implementations§
Source§impl Clone for EnrolledFactor
impl Clone for EnrolledFactor
Source§fn clone(&self) -> EnrolledFactor
fn clone(&self) -> EnrolledFactor
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 EnrolledFactor
impl Debug for EnrolledFactor
Source§impl<'de> Deserialize<'de> for EnrolledFactor
impl<'de> Deserialize<'de> for EnrolledFactor
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 EnrolledFactor
impl RefUnwindSafe for EnrolledFactor
impl Send for EnrolledFactor
impl Sync for EnrolledFactor
impl Unpin for EnrolledFactor
impl UnwindSafe for EnrolledFactor
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