pub struct AuthenticatorConfig {Show 13 fields
pub aaguid: [u8; 16],
pub commands: Vec<CtapCommand>,
pub options: Option<AuthenticatorOptions>,
pub max_credentials: usize,
pub extensions: Vec<String>,
pub force_resident_keys: bool,
pub firmware_version: Option<u32>,
pub constant_sign_count: bool,
pub max_msg_size: usize,
pub device_name: Option<String>,
pub vendor_id: Option<u16>,
pub product_id: Option<u16>,
pub device_version: Option<u16>,
}Expand description
Authenticator configuration
Fields§
§aaguid: [u8; 16]§commands: Vec<CtapCommand>§options: Option<AuthenticatorOptions>§max_credentials: usize§extensions: Vec<String>§force_resident_keys: bool§firmware_version: Option<u32>§constant_sign_count: bool§max_msg_size: usize§device_name: Option<String>USB/HID device name
vendor_id: Option<u16>USB vendor ID
product_id: Option<u16>USB product ID
device_version: Option<u16>Device version number
Implementations§
Source§impl AuthenticatorConfig
impl AuthenticatorConfig
pub fn builder() -> AuthenticatorConfigBuilder
Trait Implementations§
Source§impl Clone for AuthenticatorConfig
impl Clone for AuthenticatorConfig
Source§fn clone(&self) -> AuthenticatorConfig
fn clone(&self) -> AuthenticatorConfig
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 Debug for AuthenticatorConfig
impl Debug for AuthenticatorConfig
Auto Trait Implementations§
impl Freeze for AuthenticatorConfig
impl RefUnwindSafe for AuthenticatorConfig
impl Send for AuthenticatorConfig
impl Sync for AuthenticatorConfig
impl Unpin for AuthenticatorConfig
impl UnwindSafe for AuthenticatorConfig
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