[−][src]Struct apache_nimble_sys::ble_gatt_svc_def
Fields
type_: u8
One of the following: o BLE_GATT_SVC_TYPE_PRIMARY - primary service o BLE_GATT_SVC_TYPE_SECONDARY - secondary service o 0 - No more services in this array.
uuid: *const ble_uuid_t
Pointer to service UUID; use BLE_UUIDxx_DECLARE macros to declare proper UUID; NULL if there are no more characteristics in the service.
includes: *mut *const ble_gatt_svc_def
Array of pointers to other service definitions. These services are reported as "included services" during service discovery. Terminate the array with NULL.
characteristics: *const ble_gatt_chr_def
Array of characteristic definitions corresponding to characteristics belonging to this service.
Trait Implementations
impl Clone for ble_gatt_svc_def
[src]
fn clone(&self) -> ble_gatt_svc_def
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ble_gatt_svc_def
[src]
impl Debug for ble_gatt_svc_def
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,