pub struct GetCredentialParams<'a> { /* private fields */ }Expand description
Returns a single credential stored in the given virtual authenticator that matches the credential ID.
Implementations§
Source§impl<'a> GetCredentialParams<'a>
impl<'a> GetCredentialParams<'a>
Sourcepub fn builder(
authenticator_id: impl Into<AuthenticatorId<'a>>,
credential_id: impl Into<Cow<'a, str>>,
) -> GetCredentialParamsBuilder<'a>
pub fn builder( authenticator_id: impl Into<AuthenticatorId<'a>>, credential_id: impl Into<Cow<'a, str>>, ) -> GetCredentialParamsBuilder<'a>
Creates a builder for this type with the required parameters:
authenticator_id:credential_id:
pub fn authenticator_id(&self) -> &AuthenticatorId<'a>
pub fn credential_id(&self) -> &str
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetCredentialParams<'a>
impl<'a> CdpCommand<'a> for GetCredentialParams<'a>
Source§impl<'a> Clone for GetCredentialParams<'a>
impl<'a> Clone for GetCredentialParams<'a>
Source§fn clone(&self) -> GetCredentialParams<'a>
fn clone(&self) -> GetCredentialParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetCredentialParams<'a>
impl<'a> Debug for GetCredentialParams<'a>
Source§impl<'a> Default for GetCredentialParams<'a>
impl<'a> Default for GetCredentialParams<'a>
Source§fn default() -> GetCredentialParams<'a>
fn default() -> GetCredentialParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetCredentialParams<'a>
impl<'de, 'a> Deserialize<'de> for GetCredentialParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetCredentialParams<'a>
impl<'a> RefUnwindSafe for GetCredentialParams<'a>
impl<'a> Send for GetCredentialParams<'a>
impl<'a> Sync for GetCredentialParams<'a>
impl<'a> Unpin for GetCredentialParams<'a>
impl<'a> UnsafeUnpin for GetCredentialParams<'a>
impl<'a> UnwindSafe for GetCredentialParams<'a>
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