pub struct PublicKeyCredentialUserEntity {
pub id: Bytes,
pub name: Option<String>,
pub display_name: Option<String>,
pub icon_url: Option<String>,
}Expand description
This is a copy of webauthn::PublicKeyCredentialUserEntity with differing optional fields.
Fields§
§id: BytesThe ID of the user
name: Option<String>Optional user name
display_name: Option<String>Optional display name
icon_url: Option<String>Optional URL pointing to a user icon
Trait Implementations§
Source§impl Clone for PublicKeyCredentialUserEntity
impl Clone for PublicKeyCredentialUserEntity
Source§fn clone(&self) -> PublicKeyCredentialUserEntity
fn clone(&self) -> PublicKeyCredentialUserEntity
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<'de> Deserialize<'de> for PublicKeyCredentialUserEntity
impl<'de> Deserialize<'de> for PublicKeyCredentialUserEntity
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<PublicKeyCredentialUserEntity> for PublicKeyCredentialUserEntity
impl From<PublicKeyCredentialUserEntity> for PublicKeyCredentialUserEntity
Source§fn from(value: PublicKeyCredentialUserEntity) -> Self
fn from(value: PublicKeyCredentialUserEntity) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PublicKeyCredentialUserEntity
impl PartialEq for PublicKeyCredentialUserEntity
Source§fn eq(&self, other: &PublicKeyCredentialUserEntity) -> bool
fn eq(&self, other: &PublicKeyCredentialUserEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PublicKeyCredentialUserEntity
impl StructuralPartialEq for PublicKeyCredentialUserEntity
Auto Trait Implementations§
impl Freeze for PublicKeyCredentialUserEntity
impl RefUnwindSafe for PublicKeyCredentialUserEntity
impl Send for PublicKeyCredentialUserEntity
impl Sync for PublicKeyCredentialUserEntity
impl Unpin for PublicKeyCredentialUserEntity
impl UnwindSafe for PublicKeyCredentialUserEntity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.