pub enum WebAuthnEvents {
CredentialAdded(CredentialAdded),
CredentialDeleted(CredentialDeleted),
CredentialUpdated(CredentialUpdated),
CredentialAsserted(CredentialAsserted),
}Variants§
CredentialAdded(CredentialAdded)
CredentialDeleted(CredentialDeleted)
CredentialUpdated(CredentialUpdated)
CredentialAsserted(CredentialAsserted)
Implementations§
Source§impl WebAuthnEvents
impl WebAuthnEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebAuthnEvents
impl Clone for WebAuthnEvents
Source§fn clone(&self) -> WebAuthnEvents
fn clone(&self) -> WebAuthnEvents
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 WebAuthnEvents
impl Debug for WebAuthnEvents
Source§impl<'de> Deserialize<'de> for WebAuthnEvents
impl<'de> Deserialize<'de> for WebAuthnEvents
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<CredentialAdded> for WebAuthnEvents
impl From<CredentialAdded> for WebAuthnEvents
Source§fn from(v: CredentialAdded) -> Self
fn from(v: CredentialAdded) -> 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 From<CredentialDeleted> for WebAuthnEvents
impl From<CredentialDeleted> for WebAuthnEvents
Source§fn from(v: CredentialDeleted) -> Self
fn from(v: CredentialDeleted) -> Self
Converts to this type from the input type.
Source§impl From<CredentialUpdated> for WebAuthnEvents
impl From<CredentialUpdated> for WebAuthnEvents
Source§fn from(v: CredentialUpdated) -> Self
fn from(v: CredentialUpdated) -> Self
Converts to this type from the input type.
Source§impl From<WebAuthnEvents> for BrowserProtocolEvents
impl From<WebAuthnEvents> for BrowserProtocolEvents
Source§fn from(v: WebAuthnEvents) -> Self
fn from(v: WebAuthnEvents) -> Self
Converts to this type from the input type.
Source§impl From<WebAuthnEvents> for Event
impl From<WebAuthnEvents> for Event
Source§fn from(v: WebAuthnEvents) -> Self
fn from(v: WebAuthnEvents) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebAuthnEvents
impl PartialEq for WebAuthnEvents
Source§impl Serialize for WebAuthnEvents
impl Serialize for WebAuthnEvents
Source§impl TryFrom<BrowserProtocolEvents> for WebAuthnEvents
impl TryFrom<BrowserProtocolEvents> for WebAuthnEvents
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, <WebAuthnEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WebAuthnEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for WebAuthnEvents
impl TryFrom<Event> for WebAuthnEvents
Source§impl TryFrom<WebAuthnEvents> for CredentialAdded
impl TryFrom<WebAuthnEvents> for CredentialAdded
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, <CredentialAdded as TryFrom<WebAuthnEvents>>::Error>
fn try_from( e: WebAuthnEvents, ) -> Result<Self, <CredentialAdded as TryFrom<WebAuthnEvents>>::Error>
Performs the conversion.
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.
Source§impl TryFrom<WebAuthnEvents> for CredentialDeleted
impl TryFrom<WebAuthnEvents> for CredentialDeleted
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, <CredentialDeleted as TryFrom<WebAuthnEvents>>::Error>
fn try_from( e: WebAuthnEvents, ) -> Result<Self, <CredentialDeleted as TryFrom<WebAuthnEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAuthnEvents> for CredentialUpdated
impl TryFrom<WebAuthnEvents> for CredentialUpdated
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, <CredentialUpdated as TryFrom<WebAuthnEvents>>::Error>
fn try_from( e: WebAuthnEvents, ) -> Result<Self, <CredentialUpdated as TryFrom<WebAuthnEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebAuthnEvents
Auto Trait Implementations§
impl Freeze for WebAuthnEvents
impl RefUnwindSafe for WebAuthnEvents
impl Send for WebAuthnEvents
impl Sync for WebAuthnEvents
impl Unpin for WebAuthnEvents
impl UnsafeUnpin for WebAuthnEvents
impl UnwindSafe for WebAuthnEvents
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