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
impl Eq for UserCM
impl StructuralPartialEq for UserCM
Auto Trait Implementations§
impl Freeze for UserCM
impl RefUnwindSafe for UserCM
impl Send for UserCM
impl Sync for UserCM
impl Unpin for UserCM
impl UnwindSafe for UserCM
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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