#[non_exhaustive]pub struct Request<'a> {
pub client_data_hash: &'a Bytes,
pub rp: PublicKeyCredentialRpEntity,
pub user: PublicKeyCredentialUserEntity,
pub pub_key_cred_params: FilteredPublicKeyCredentialParameters,
pub exclude_list: Option<Vec<PublicKeyCredentialDescriptorRef<'a>, 16>>,
pub extensions: Option<Extensions>,
pub options: Option<AuthenticatorOptions>,
pub pin_auth: Option<&'a Bytes>,
pub pin_protocol: Option<u32>,
pub enterprise_attestation: Option<u32>,
pub attestation_formats_preference: Option<AttestationFormatsPreference>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_data_hash: &'a Bytes
§rp: PublicKeyCredentialRpEntity
§user: PublicKeyCredentialUserEntity
§pub_key_cred_params: FilteredPublicKeyCredentialParameters
§exclude_list: Option<Vec<PublicKeyCredentialDescriptorRef<'a>, 16>>
§extensions: Option<Extensions>
§options: Option<AuthenticatorOptions>
§pin_auth: Option<&'a Bytes>
§pin_protocol: Option<u32>
§enterprise_attestation: Option<u32>
§attestation_formats_preference: Option<AttestationFormatsPreference>
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Request<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Request<'a>
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
impl<'a> Eq for Request<'a>
impl<'a> StructuralPartialEq for Request<'a>
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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