[][src]Struct nrf_softdevice_s113::ble_gatts_authorize_params_t

#[repr(C)]pub struct ble_gatts_authorize_params_t {
    pub gatt_status: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub offset: u16,
    pub len: u16,
    pub p_data: *const u8,
}

@brief GATT Authorization parameters.

Fields

gatt_status: u16

< GATT status code for the operation, see @ref BLE_GATT_STATUS_CODES.

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>offset: u16

< Offset of the attribute value being updated.

len: u16

< Length in bytes of the value in p_data pointer, see @ref BLE_GATTS_ATTR_LENS_MAX.

p_data: *const u8

< Pointer to new value used to update the attribute value.

Implementations

impl ble_gatts_authorize_params_t[src]

pub fn update(&self) -> u8[src]

pub fn set_update(&mut self, val: u8)[src]

pub fn new_bitfield_1(update: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]

Trait Implementations

impl Clone for ble_gatts_authorize_params_t[src]

impl Copy for ble_gatts_authorize_params_t[src]

impl Debug for ble_gatts_authorize_params_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.