pub struct NewCredentials {
pub first_factor_credential: FirstFactorAttestation,
pub second_factor_credential: Option<SecondFactorAttestation>,
pub recovery_credential: Option<RecoveryFactorAttestation>,
}Fields§
§first_factor_credential: FirstFactorAttestation§second_factor_credential: Option<SecondFactorAttestation>§recovery_credential: Option<RecoveryFactorAttestation>Trait Implementations§
Source§impl Clone for NewCredentials
impl Clone for NewCredentials
Source§fn clone(&self) -> NewCredentials
fn clone(&self) -> NewCredentials
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 NewCredentials
impl Debug for NewCredentials
Source§impl<'de> Deserialize<'de> for NewCredentials
impl<'de> Deserialize<'de> for NewCredentials
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
Source§impl PartialEq for NewCredentials
impl PartialEq for NewCredentials
Source§impl Serialize for NewCredentials
impl Serialize for NewCredentials
impl StructuralPartialEq for NewCredentials
Auto Trait Implementations§
impl Freeze for NewCredentials
impl RefUnwindSafe for NewCredentials
impl Send for NewCredentials
impl Sync for NewCredentials
impl Unpin for NewCredentials
impl UnwindSafe for NewCredentials
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