pub struct CredentialAddedEventParamsBuilder { /* private fields */ }Expand description
Builder for CredentialAddedEventParams.
Implementations§
Source§impl CredentialAddedEventParamsBuilder
impl CredentialAddedEventParamsBuilder
pub fn authenticator_id(&mut self, value: AuthenticatorId) -> &mut Self
pub fn credential(&mut self, value: Credential) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<CredentialAddedEventParams, CredentialAddedEventParamsBuilderError>
pub fn build( &self, ) -> Result<CredentialAddedEventParams, CredentialAddedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for CredentialAddedEventParamsBuilder
impl Clone for CredentialAddedEventParamsBuilder
Source§fn clone(&self) -> CredentialAddedEventParamsBuilder
fn clone(&self) -> CredentialAddedEventParamsBuilder
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 CredentialAddedEventParamsBuilder
impl RefUnwindSafe for CredentialAddedEventParamsBuilder
impl Send for CredentialAddedEventParamsBuilder
impl Sync for CredentialAddedEventParamsBuilder
impl Unpin for CredentialAddedEventParamsBuilder
impl UnsafeUnpin for CredentialAddedEventParamsBuilder
impl UnwindSafe for CredentialAddedEventParamsBuilder
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