pub struct AuthenticationRequirements {
pub bonding_required: bool,
pub mitm_protection_required: bool,
pub secure_connection_support: SecureConnectionSupport,
pub keypress_notification_support: bool,
pub encryption_key_size_range: (u8, u8),
pub fixed_pin: Pin,
pub identity_address_type: AddressType,
}Expand description
Parameters for the GAP Set Authentication Requirement command.
Fields§
§bonding_required: boolIs bonding required?
mitm_protection_required: boolIs MITM (man-in-the-middle) protection required?
secure_connection_support: SecureConnectionSupportis secure connection support required
keypress_notification_support: boolis keypress notification support required
encryption_key_size_range: (u8, u8)Minimum and maximum size of the encryption key.
fixed_pin: PinPin to use during the pairing process.
identity_address_type: AddressTypeidentity address type.
Auto Trait Implementations§
impl Freeze for AuthenticationRequirements
impl RefUnwindSafe for AuthenticationRequirements
impl Send for AuthenticationRequirements
impl Sync for AuthenticationRequirements
impl Unpin for AuthenticationRequirements
impl UnwindSafe for AuthenticationRequirements
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