pub struct AddCredentialBuilder { /* private fields */ }Expand description
Builder for AddCredential.
Implementations§
Source§impl AddCredentialBuilder
impl AddCredentialBuilder
pub fn authenticator_id<VALUE: Into<AuthenticatorId>>( &mut self, value: VALUE, ) -> &mut Self
pub fn credential<VALUE: Into<Credential>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<AddCredential, AddCredentialBuilderError>
pub fn build(&self) -> Result<AddCredential, AddCredentialBuilderError>
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 moreAuto 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