Struct nrf_softdevice_s132::ble_gattc_char_t
source · #[repr(C)]pub struct ble_gattc_char_t {
pub uuid: ble_uuid_t,
pub char_props: ble_gatt_char_props_t,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub handle_decl: u16,
pub handle_value: u16,
}
Expand description
@brief GATT characteristic.
Fields§
§uuid: ble_uuid_t
< Characteristic UUID.
char_props: ble_gatt_char_props_t
< Characteristic Properties.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
§handle_decl: u16
< Handle of the Characteristic Declaration.
handle_value: u16
< Handle of the Characteristic Value.
Implementations§
source§impl ble_gattc_char_t
impl ble_gattc_char_t
pub fn char_ext_props(&self) -> u8
pub fn set_char_ext_props(&mut self, val: u8)
pub fn new_bitfield_1(char_ext_props: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
source§impl Clone for ble_gattc_char_t
impl Clone for ble_gattc_char_t
source§fn clone(&self) -> ble_gattc_char_t
fn clone(&self) -> ble_gattc_char_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_gattc_char_t
impl Debug for ble_gattc_char_t
impl Copy for ble_gattc_char_t
Auto Trait Implementations§
impl RefUnwindSafe for ble_gattc_char_t
impl Send for ble_gattc_char_t
impl Sync for ble_gattc_char_t
impl Unpin for ble_gattc_char_t
impl UnwindSafe for ble_gattc_char_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