Struct webauthn_authenticator_rs::ctap2::commands::UserCM
source · pub struct UserCM {
pub id: Vec<u8>,
pub name: Option<String>,
pub display_name: Option<String>,
}Available on crate features
ctap2-management and ctap2 only.Expand description
User entity
Note: the icon field is deprecated, so this field is not
supported by this library.
Fields§
§id: Vec<u8>The user ID.
name: Option<String>A human-palatable identifier for the account, such as a username, email address or phone number.
This value can change, so must not be used as a primary key.
display_name: Option<String>Human-palatable display name for the user account.
This value can change, so must not be used as a primary key.
Trait Implementations§
source§impl<'de> Deserialize<'de> for UserCM
impl<'de> Deserialize<'de> for UserCM
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 PartialEq for UserCM
impl PartialEq for UserCM
impl Eq for UserCM
impl StructuralEq for UserCM
impl StructuralPartialEq for UserCM
Auto Trait Implementations§
impl RefUnwindSafe for UserCM
impl Send for UserCM
impl Sync for UserCM
impl Unpin for UserCM
impl UnwindSafe for UserCM
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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