pub struct AddCredentialParams {
pub authenticator_id: AuthenticatorId,
pub credential: Credential,
}Expand description
Adds the credential to the specified authenticator. addCredential
Fields§
§authenticator_id: AuthenticatorId§credential: CredentialImplementations§
Source§impl AddCredentialParams
impl AddCredentialParams
pub fn new( authenticator_id: impl Into<AuthenticatorId>, credential: impl Into<Credential>, ) -> Self
Trait Implementations§
Source§impl Clone for AddCredentialParams
impl Clone for AddCredentialParams
Source§fn clone(&self) -> AddCredentialParams
fn clone(&self) -> AddCredentialParams
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 AddCredentialParams
impl Debug for AddCredentialParams
Source§impl<'de> Deserialize<'de> for AddCredentialParams
impl<'de> Deserialize<'de> for AddCredentialParams
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 AddCredentialParams
impl PartialEq for AddCredentialParams
Source§impl Serialize for AddCredentialParams
impl Serialize for AddCredentialParams
impl StructuralPartialEq for AddCredentialParams
Auto Trait Implementations§
impl Freeze for AddCredentialParams
impl RefUnwindSafe for AddCredentialParams
impl Send for AddCredentialParams
impl Sync for AddCredentialParams
impl Unpin for AddCredentialParams
impl UnsafeUnpin for AddCredentialParams
impl UnwindSafe for AddCredentialParams
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