[][src]Struct web_sys::PublicKeyCredential

#[repr(transparent)]pub struct PublicKeyCredential { /* fields omitted */ }

The PublicKeyCredential class.

MDN Documentation

This API requires the following crate features to be activated: PublicKeyCredential

Implementations

impl PublicKeyCredential[src]

pub fn raw_id(&self) -> ArrayBuffer[src]

Getter for the rawId field of this object.

MDN Documentation

This API requires the following crate features to be activated: PublicKeyCredential

impl PublicKeyCredential[src]

pub fn response(&self) -> AuthenticatorResponse[src]

Getter for the response field of this object.

MDN Documentation

This API requires the following crate features to be activated: AuthenticatorResponse, PublicKeyCredential

impl PublicKeyCredential[src]

pub fn get_client_extension_results(
    &self
) -> AuthenticationExtensionsClientOutputs
[src]

The getClientExtensionResults() method.

MDN Documentation

This API requires the following crate features to be activated: AuthenticationExtensionsClientOutputs, PublicKeyCredential

impl PublicKeyCredential[src]

pub fn is_user_verifying_platform_authenticator_available() -> Promise[src]

The isUserVerifyingPlatformAuthenticatorAvailable() method.

MDN Documentation

This API requires the following crate features to be activated: PublicKeyCredential

Methods from Deref<Target = Credential>

pub fn id(&self) -> String[src]

Getter for the id field of this object.

MDN Documentation

This API requires the following crate features to be activated: Credential

pub fn type_(&self) -> String[src]

Getter for the type field of this object.

MDN Documentation

This API requires the following crate features to be activated: Credential

Trait Implementations

impl AsRef<Credential> for PublicKeyCredential[src]

impl AsRef<JsValue> for PublicKeyCredential[src]

impl AsRef<Object> for PublicKeyCredential[src]

impl AsRef<PublicKeyCredential> for PublicKeyCredential[src]

impl Clone for PublicKeyCredential[src]

impl Debug for PublicKeyCredential[src]

impl Deref for PublicKeyCredential[src]

type Target = Credential

The resulting type after dereferencing.

impl Eq for PublicKeyCredential[src]

impl From<JsValue> for PublicKeyCredential[src]

impl From<PublicKeyCredential> for JsValue[src]

impl From<PublicKeyCredential> for Credential[src]

impl From<PublicKeyCredential> for Object[src]

impl FromWasmAbi for PublicKeyCredential[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for PublicKeyCredential[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a PublicKeyCredential[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for PublicKeyCredential[src]

impl OptionFromWasmAbi for PublicKeyCredential[src]

impl OptionIntoWasmAbi for PublicKeyCredential[src]

impl<'a> OptionIntoWasmAbi for &'a PublicKeyCredential[src]

impl PartialEq<PublicKeyCredential> for PublicKeyCredential[src]

impl RefFromWasmAbi for PublicKeyCredential[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PublicKeyCredential>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for PublicKeyCredential[src]

impl StructuralPartialEq for PublicKeyCredential[src]

impl WasmDescribe for PublicKeyCredential[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.