Struct nrf_softdevice_s140::ble_gatts_char_pf_t
source · #[repr(C)]pub struct ble_gatts_char_pf_t {
pub format: u8,
pub exponent: i8,
pub unit: u16,
pub name_space: u8,
pub desc: u16,
}
Expand description
@brief GATT Characteristic Presentation Format.
Fields§
§format: u8
< Format of the value, see @ref BLE_GATT_CPF_FORMATS.
exponent: i8
< Exponent for integer data types.
unit: u16
< Unit from Bluetooth Assigned Numbers.
name_space: u8
< Namespace from Bluetooth Assigned Numbers, see @ref BLE_GATT_CPF_NAMESPACES.
desc: u16
< Namespace description from Bluetooth Assigned Numbers, see @ref BLE_GATT_CPF_NAMESPACES.
Trait Implementations§
source§impl Clone for ble_gatts_char_pf_t
impl Clone for ble_gatts_char_pf_t
source§fn clone(&self) -> ble_gatts_char_pf_t
fn clone(&self) -> ble_gatts_char_pf_t
Returns a copy 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 more