pub struct CredentialAsserted {
pub method: CredentialAssertedMethod,
pub params: CredentialAssertedParams,
}Expand description
Triggered when a credential is used in a webauthn assertion. credentialAsserted
Fields§
§method: CredentialAssertedMethod§params: CredentialAssertedParamsImplementations§
Source§impl CredentialAsserted
impl CredentialAsserted
pub const IDENTIFIER: &'static str = "WebAuthn.credentialAsserted"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CredentialAsserted
impl Clone for CredentialAsserted
Source§fn clone(&self) -> CredentialAsserted
fn clone(&self) -> CredentialAsserted
Returns a duplicate 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 CredentialAsserted
impl Debug for CredentialAsserted
Source§impl<'de> Deserialize<'de> for CredentialAsserted
impl<'de> Deserialize<'de> for CredentialAsserted
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 From<CredentialAsserted> for BrowserProtocolEvents
impl From<CredentialAsserted> for BrowserProtocolEvents
Source§fn from(v: CredentialAsserted) -> Self
fn from(v: CredentialAsserted) -> Self
Converts to this type from the input type.
Source§impl From<CredentialAsserted> for Event
impl From<CredentialAsserted> for Event
Source§fn from(v: CredentialAsserted) -> Self
fn from(v: CredentialAsserted) -> Self
Converts to this type from the input type.
Source§impl From<CredentialAsserted> for WebAuthnEvents
impl From<CredentialAsserted> for WebAuthnEvents
Source§fn from(v: CredentialAsserted) -> Self
fn from(v: CredentialAsserted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CredentialAsserted
impl PartialEq for CredentialAsserted
Source§impl Serialize for CredentialAsserted
impl Serialize for CredentialAsserted
Source§impl TryFrom<BrowserProtocolEvents> for CredentialAsserted
impl TryFrom<BrowserProtocolEvents> for CredentialAsserted
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <CredentialAsserted as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <CredentialAsserted as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for CredentialAsserted
impl TryFrom<Event> for CredentialAsserted
Source§impl TryFrom<WebAuthnEvents> for CredentialAsserted
impl TryFrom<WebAuthnEvents> for CredentialAsserted
Source§type Error = WebAuthnEvents
type Error = WebAuthnEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: WebAuthnEvents,
) -> Result<Self, <CredentialAsserted as TryFrom<WebAuthnEvents>>::Error>
fn try_from( e: WebAuthnEvents, ) -> Result<Self, <CredentialAsserted as TryFrom<WebAuthnEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for CredentialAsserted
Auto Trait Implementations§
impl Freeze for CredentialAsserted
impl RefUnwindSafe for CredentialAsserted
impl Send for CredentialAsserted
impl Sync for CredentialAsserted
impl Unpin for CredentialAsserted
impl UnsafeUnpin for CredentialAsserted
impl UnwindSafe for CredentialAsserted
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