[][src]Struct nrf_softdevice_s132::ble_gatts_char_pf_t

#[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,
}

@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

impl Clone for ble_gatts_char_pf_t[src]

impl Copy for ble_gatts_char_pf_t[src]

impl Debug for ble_gatts_char_pf_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.