pub struct PasskeyRegistrationResponse {
pub id: String,
pub raw_id: String,
pub type: String,
pub response: PasskeyRegistrationResponseResponse,
}Expand description
The PublicKeyCredential returned by navigator.credentials.create(), JSON-serialized (base64url). Extra fields the browser adds (clientExtensionResults, authenticatorAttachment) are accepted and ignored.
Fields§
§id: Stringbase64url credential ID. Max 64 KB.
raw_id: Stringbase64url credential ID. Max 64 KB.
type: StringAlways public-key. Max 64 characters.
response: PasskeyRegistrationResponseResponseTrait Implementations§
Source§impl Clone for PasskeyRegistrationResponse
impl Clone for PasskeyRegistrationResponse
Source§impl Debug for PasskeyRegistrationResponse
impl Debug for PasskeyRegistrationResponse
Source§impl<'de> Deserialize<'de> for PasskeyRegistrationResponsewhere
PasskeyRegistrationResponse: Default,
impl<'de> Deserialize<'de> for PasskeyRegistrationResponsewhere
PasskeyRegistrationResponse: Default,
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 StructuralPartialEq for PasskeyRegistrationResponse
Auto Trait Implementations§
impl Freeze for PasskeyRegistrationResponse
impl RefUnwindSafe for PasskeyRegistrationResponse
impl Send for PasskeyRegistrationResponse
impl Sync for PasskeyRegistrationResponse
impl Unpin for PasskeyRegistrationResponse
impl UnsafeUnpin for PasskeyRegistrationResponse
impl UnwindSafe for PasskeyRegistrationResponse
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