pub struct AddCredentialBuilder { /* private fields */ }Implementations§
Source§impl AddCredentialBuilder
impl AddCredentialBuilder
pub fn authenticator_id( self, authenticator_id: impl Into<AuthenticatorId>, ) -> Self
pub fn credential(self, credential: impl Into<Credential>) -> Self
pub fn build(self) -> Result<AddCredential, String>
Trait Implementations§
Source§impl Clone for AddCredentialBuilder
impl Clone for AddCredentialBuilder
Source§fn clone(&self) -> AddCredentialBuilder
fn clone(&self) -> AddCredentialBuilder
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 Default for AddCredentialBuilder
impl Default for AddCredentialBuilder
Source§fn default() -> AddCredentialBuilder
fn default() -> AddCredentialBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddCredentialBuilder
impl RefUnwindSafe for AddCredentialBuilder
impl Send for AddCredentialBuilder
impl Sync for AddCredentialBuilder
impl Unpin for AddCredentialBuilder
impl UnsafeUnpin for AddCredentialBuilder
impl UnwindSafe for AddCredentialBuilder
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