pub struct CredentialId(pub Bytes<MAX_CREDENTIAL_ID_LENGTH>);Expand description
External ID of a credential, commonly known as “keyhandle”.
Tuple Fields§
§0: Bytes<MAX_CREDENTIAL_ID_LENGTH>Trait Implementations§
Source§impl Clone for CredentialId
impl Clone for CredentialId
Source§fn clone(&self) -> CredentialId
fn clone(&self) -> CredentialId
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 CredentialId
impl Debug for CredentialId
Source§impl Default for CredentialId
impl Default for CredentialId
Source§fn default() -> CredentialId
fn default() -> CredentialId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CredentialId
impl<'de> Deserialize<'de> for CredentialId
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<CredentialId> for PublicKeyCredentialDescriptor
impl From<CredentialId> for PublicKeyCredentialDescriptor
Source§fn from(id: CredentialId) -> PublicKeyCredentialDescriptor
fn from(id: CredentialId) -> PublicKeyCredentialDescriptor
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CredentialId
impl RefUnwindSafe for CredentialId
impl Send for CredentialId
impl Sync for CredentialId
impl Unpin for CredentialId
impl UnsafeUnpin for CredentialId
impl UnwindSafe for CredentialId
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