pub struct AssertionOptions {
pub status: Option<String>,
pub error_message: Option<String>,
pub challenge: Option<Vec<u8>>,
pub timeout: Option<i32>,
pub rp_id: Option<String>,
pub allow_credentials: Option<Vec<PublicKeyCredentialDescriptor>>,
pub user_verification: Option<UserVerificationRequirement>,
pub extensions: Option<Box<AuthenticationExtensionsClientInputs>>,
}
Fields§
§status: Option<String>
§error_message: Option<String>
§challenge: Option<Vec<u8>>
§timeout: Option<i32>
§rp_id: Option<String>
§allow_credentials: Option<Vec<PublicKeyCredentialDescriptor>>
§user_verification: Option<UserVerificationRequirement>
§extensions: Option<Box<AuthenticationExtensionsClientInputs>>
Implementations§
Source§impl AssertionOptions
impl AssertionOptions
pub fn new() -> AssertionOptions
Trait Implementations§
Source§impl Clone for AssertionOptions
impl Clone for AssertionOptions
Source§fn clone(&self) -> AssertionOptions
fn clone(&self) -> AssertionOptions
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 AssertionOptions
impl Debug for AssertionOptions
Source§impl Default for AssertionOptions
impl Default for AssertionOptions
Source§fn default() -> AssertionOptions
fn default() -> AssertionOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssertionOptions
impl<'de> Deserialize<'de> for AssertionOptions
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 AssertionOptions
impl PartialEq for AssertionOptions
Source§impl Serialize for AssertionOptions
impl Serialize for AssertionOptions
impl StructuralPartialEq for AssertionOptions
Auto Trait Implementations§
impl Freeze for AssertionOptions
impl RefUnwindSafe for AssertionOptions
impl Send for AssertionOptions
impl Sync for AssertionOptions
impl Unpin for AssertionOptions
impl UnwindSafe for AssertionOptions
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