pub struct EventCredentialUpdated {
pub authenticator_id: AuthenticatorId,
pub credential: Credential,
}
Expand description
Triggered when a credential is updated, e.g. through PublicKeyCredential.signalCurrentUserDetails(). credentialUpdated
Fields§
§authenticator_id: AuthenticatorId
§credential: Credential
Implementations§
Source§impl EventCredentialUpdated
impl EventCredentialUpdated
pub const IDENTIFIER: &'static str = "WebAuthn.credentialUpdated"
Trait Implementations§
Source§impl Clone for EventCredentialUpdated
impl Clone for EventCredentialUpdated
Source§fn clone(&self) -> EventCredentialUpdated
fn clone(&self) -> EventCredentialUpdated
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 EventCredentialUpdated
impl Debug for EventCredentialUpdated
Source§impl<'de> Deserialize<'de> for EventCredentialUpdated
impl<'de> Deserialize<'de> for EventCredentialUpdated
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventCredentialUpdated, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventCredentialUpdated, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EventCredentialUpdated> for CdpEvent
impl From<EventCredentialUpdated> for CdpEvent
Source§fn from(el: EventCredentialUpdated) -> CdpEvent
fn from(el: EventCredentialUpdated) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventCredentialUpdated
impl IntoEventKind for EventCredentialUpdated
Source§fn event_kind() -> EventKindwhere
EventCredentialUpdated: Sized + 'static,
fn event_kind() -> EventKindwhere
EventCredentialUpdated: Sized + 'static,
What kind of event this type is
Source§impl Method for EventCredentialUpdated
impl Method for EventCredentialUpdated
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl MethodType for EventCredentialUpdated
impl MethodType for EventCredentialUpdated
Source§impl PartialEq for EventCredentialUpdated
impl PartialEq for EventCredentialUpdated
Source§impl Serialize for EventCredentialUpdated
impl Serialize for EventCredentialUpdated
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<CdpEvent> for EventCredentialUpdated
impl TryFrom<CdpEvent> for EventCredentialUpdated
impl StructuralPartialEq for EventCredentialUpdated
Auto Trait Implementations§
impl Freeze for EventCredentialUpdated
impl RefUnwindSafe for EventCredentialUpdated
impl Send for EventCredentialUpdated
impl Sync for EventCredentialUpdated
impl Unpin for EventCredentialUpdated
impl UnwindSafe for EventCredentialUpdated
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