pub struct CredentialUpdated {
pub method: CredentialUpdatedMethod,
pub params: CredentialUpdatedParams,
}Expand description
Triggered when a credential is updated, e.g. through PublicKeyCredential.signalCurrentUserDetails(). credentialUpdated
Fields§
§method: CredentialUpdatedMethod§params: CredentialUpdatedParamsImplementations§
Source§impl CredentialUpdated
impl CredentialUpdated
pub const IDENTIFIER: &'static str = "WebAuthn.credentialUpdated"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CredentialUpdated
impl Clone for CredentialUpdated
Source§fn clone(&self) -> CredentialUpdated
fn clone(&self) -> CredentialUpdated
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 CredentialUpdated
impl Debug for CredentialUpdated
Source§impl<'de> Deserialize<'de> for CredentialUpdated
impl<'de> Deserialize<'de> for CredentialUpdated
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<CredentialUpdated> for BrowserProtocolEvents
impl From<CredentialUpdated> for BrowserProtocolEvents
Source§fn from(v: CredentialUpdated) -> Self
fn from(v: CredentialUpdated) -> Self
Converts to this type from the input type.
Source§impl From<CredentialUpdated> for Event
impl From<CredentialUpdated> for Event
Source§fn from(v: CredentialUpdated) -> Self
fn from(v: CredentialUpdated) -> 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 PartialEq for CredentialUpdated
impl PartialEq for CredentialUpdated
Source§impl Serialize for CredentialUpdated
impl Serialize for CredentialUpdated
Source§impl TryFrom<BrowserProtocolEvents> for CredentialUpdated
impl TryFrom<BrowserProtocolEvents> for CredentialUpdated
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, <CredentialUpdated as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <CredentialUpdated as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for CredentialUpdated
impl TryFrom<Event> for CredentialUpdated
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 CredentialUpdated
Auto Trait Implementations§
impl Freeze for CredentialUpdated
impl RefUnwindSafe for CredentialUpdated
impl Send for CredentialUpdated
impl Sync for CredentialUpdated
impl Unpin for CredentialUpdated
impl UnsafeUnpin for CredentialUpdated
impl UnwindSafe for CredentialUpdated
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