pub struct AuthenticatorConfigBuilder { /* private fields */ }Expand description
Builder for AuthenticatorConfig
Implementations§
Source§impl AuthenticatorConfigBuilder
impl AuthenticatorConfigBuilder
pub fn new() -> Self
pub fn aaguid(self, aaguid: [u8; 16]) -> Self
pub fn commands(self, commands: Vec<CtapCommand>) -> Self
pub fn options(self, options: AuthenticatorOptions) -> Self
pub fn max_credentials(self, max: usize) -> Self
pub fn extensions(self, extensions: Vec<String>) -> Self
pub fn force_resident_keys(self, force: bool) -> Self
pub fn firmware_version(self, version: u32) -> Self
pub fn constant_sign_count(self, constant: bool) -> Self
pub fn max_msg_size(self, size: usize) -> Self
pub fn device_name(self, name: String) -> Self
pub fn vendor_id(self, id: u16) -> Self
pub fn product_id(self, id: u16) -> Self
pub fn device_version(self, version: u16) -> Self
pub fn build(self) -> AuthenticatorConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthenticatorConfigBuilder
impl RefUnwindSafe for AuthenticatorConfigBuilder
impl Send for AuthenticatorConfigBuilder
impl Sync for AuthenticatorConfigBuilder
impl Unpin for AuthenticatorConfigBuilder
impl UnwindSafe for AuthenticatorConfigBuilder
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