Struct nrf_softdevice_s132::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 moresource§impl Debug for ble_gatts_char_pf_t
impl Debug for ble_gatts_char_pf_t
impl Copy for ble_gatts_char_pf_t
Auto Trait Implementations§
impl RefUnwindSafe for ble_gatts_char_pf_t
impl Send for ble_gatts_char_pf_t
impl Sync for ble_gatts_char_pf_t
impl Unpin for ble_gatts_char_pf_t
impl UnwindSafe for ble_gatts_char_pf_t
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