pub struct CredentialBuilder { /* private fields */ }Implementations§
Source§impl CredentialBuilder
impl CredentialBuilder
pub fn credential_id(self, credential_id: impl Into<Binary>) -> Self
pub fn is_resident_credential( self, is_resident_credential: impl Into<bool>, ) -> Self
pub fn rp_id(self, rp_id: impl Into<String>) -> Self
pub fn private_key(self, private_key: impl Into<Binary>) -> Self
pub fn user_handle(self, user_handle: impl Into<Binary>) -> Self
pub fn sign_count(self, sign_count: impl Into<i64>) -> Self
pub fn large_blob(self, large_blob: impl Into<Binary>) -> Self
pub fn backup_eligibility(self, backup_eligibility: impl Into<bool>) -> Self
pub fn backup_state(self, backup_state: impl Into<bool>) -> Self
pub fn user_name(self, user_name: impl Into<String>) -> Self
pub fn user_display_name(self, user_display_name: impl Into<String>) -> Self
pub fn build(self) -> Result<Credential, String>
Trait Implementations§
Source§impl Clone for CredentialBuilder
impl Clone for CredentialBuilder
Source§fn clone(&self) -> CredentialBuilder
fn clone(&self) -> CredentialBuilder
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 CredentialBuilder
impl Default for CredentialBuilder
Source§fn default() -> CredentialBuilder
fn default() -> CredentialBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CredentialBuilder
impl RefUnwindSafe for CredentialBuilder
impl Send for CredentialBuilder
impl Sync for CredentialBuilder
impl Unpin for CredentialBuilder
impl UnwindSafe for CredentialBuilder
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