#[repr(C)]pub struct ble_gatt_chr {
pub def_handle: u16,
pub val_handle: u16,
pub properties: u8,
pub uuid: ble_uuid_any_t,
}
Expand description
Represents a GATT characteristic.
Fields§
§def_handle: u16
The handle of the GATT characteristic definition.
val_handle: u16
The handle of the GATT characteristic value.
properties: u8
The properties of the GATT characteristic.
uuid: ble_uuid_any_t
The UUID of the GATT characteristic.
Trait Implementations§
Source§impl Clone for ble_gatt_chr
impl Clone for ble_gatt_chr
Source§fn clone(&self) -> ble_gatt_chr
fn clone(&self) -> ble_gatt_chr
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ble_gatt_chr
impl Default for ble_gatt_chr
impl Copy for ble_gatt_chr
Auto Trait Implementations§
impl Freeze for ble_gatt_chr
impl RefUnwindSafe for ble_gatt_chr
impl Send for ble_gatt_chr
impl Sync for ble_gatt_chr
impl Unpin for ble_gatt_chr
impl UnwindSafe for ble_gatt_chr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)