pub struct CredentialStorageMetadata {
pub existing_resident_credentials_count: u32,
pub max_possible_remaining_resident_credentials_count: u32,
}Available on crate features
ctap2-management and ctap2 only.Expand description
Discoverable credential storage metadata, returned by
CredentialManagementAuthenticator::get_credentials_metadata().
Fields§
§existing_resident_credentials_count: u32Number of discoverable credentials present on the authenticator.
max_possible_remaining_resident_credentials_count: u32Estimated number of additional discoverable credentials which could be created on this authenticator, assuming minimally-sized fields for all requests (ie: errs high).
This value may vary over time, depending on the size of individual discoverable credentials, and the token’s storage allocation strategy.
§CTAP compatibility
On authenticators supporting CTAP 2.1 or later, a pessimistic estimate
(ie: presuming maximally-sized credentials) might be available
without authentication in
GetInfoResponse::remaining_discoverable_credentials.
Trait Implementations§
source§impl Debug for CredentialStorageMetadata
impl Debug for CredentialStorageMetadata
source§impl Default for CredentialStorageMetadata
impl Default for CredentialStorageMetadata
source§fn default() -> CredentialStorageMetadata
fn default() -> CredentialStorageMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CredentialStorageMetadata
impl<'de> Deserialize<'de> for CredentialStorageMetadata
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 CredentialStorageMetadata
impl PartialEq for CredentialStorageMetadata
source§fn eq(&self, other: &CredentialStorageMetadata) -> bool
fn eq(&self, other: &CredentialStorageMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CredentialStorageMetadata
impl StructuralPartialEq for CredentialStorageMetadata
Auto Trait Implementations§
impl Freeze for CredentialStorageMetadata
impl RefUnwindSafe for CredentialStorageMetadata
impl Send for CredentialStorageMetadata
impl Sync for CredentialStorageMetadata
impl Unpin for CredentialStorageMetadata
impl UnwindSafe for CredentialStorageMetadata
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§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