#[repr(C)]
pub struct ble_gap_passkey_params { pub action: u8, pub numcmp: u32, }
Expand description

@brief Passkey query

Fields

action: u8

Passkey action, can be one of following constants:

  • BLE_SM_IOACT_NONE
  • BLE_SM_IOACT_OOB
  • BLE_SM_IOACT_INPUT
  • BLE_SM_IOACT_DISP
  • BLE_SM_IOACT_NUMCMP
numcmp: u32

Passkey to compare, valid for BLE_SM_IOACT_NUMCMP action

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.