pub struct CredentialCreateOptions {
pub status: Option<String>,
pub error_message: Option<String>,
pub rp: Option<Box<PublicKeyCredentialRpEntity>>,
pub user: Option<Box<Fido2User>>,
pub challenge: Option<Vec<u8>>,
pub pub_key_cred_params: Option<Vec<PubKeyCredParam>>,
pub timeout: Option<i64>,
pub attestation: Option<AttestationConveyancePreference>,
pub authenticator_selection: Option<Box<AuthenticatorSelection>>,
pub exclude_credentials: Option<Vec<PublicKeyCredentialDescriptor>>,
pub extensions: Option<Box<AuthenticationExtensionsClientInputs>>,
}
Fields§
§status: Option<String>
§error_message: Option<String>
§rp: Option<Box<PublicKeyCredentialRpEntity>>
§user: Option<Box<Fido2User>>
§challenge: Option<Vec<u8>>
§pub_key_cred_params: Option<Vec<PubKeyCredParam>>
§timeout: Option<i64>
§attestation: Option<AttestationConveyancePreference>
§authenticator_selection: Option<Box<AuthenticatorSelection>>
§exclude_credentials: Option<Vec<PublicKeyCredentialDescriptor>>
§extensions: Option<Box<AuthenticationExtensionsClientInputs>>
Implementations§
Source§impl CredentialCreateOptions
impl CredentialCreateOptions
pub fn new() -> CredentialCreateOptions
Trait Implementations§
Source§impl Clone for CredentialCreateOptions
impl Clone for CredentialCreateOptions
Source§fn clone(&self) -> CredentialCreateOptions
fn clone(&self) -> CredentialCreateOptions
Returns a copy 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 CredentialCreateOptions
impl Debug for CredentialCreateOptions
Source§impl Default for CredentialCreateOptions
impl Default for CredentialCreateOptions
Source§fn default() -> CredentialCreateOptions
fn default() -> CredentialCreateOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CredentialCreateOptions
impl<'de> Deserialize<'de> for CredentialCreateOptions
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 CredentialCreateOptions
impl PartialEq for CredentialCreateOptions
Source§impl Serialize for CredentialCreateOptions
impl Serialize for CredentialCreateOptions
impl StructuralPartialEq for CredentialCreateOptions
Auto Trait Implementations§
impl Freeze for CredentialCreateOptions
impl RefUnwindSafe for CredentialCreateOptions
impl Send for CredentialCreateOptions
impl Sync for CredentialCreateOptions
impl Unpin for CredentialCreateOptions
impl UnwindSafe for CredentialCreateOptions
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