#[repr(C)]pub struct otPlatBleGattService {
pub mUuid: otPlatBleUuid,
pub mHandle: u16,
pub mCharacteristics: *mut otPlatBleGattCharacteristic,
}Expand description
Registration descriptor for a GATT service.
Fields§
§mUuid: otPlatBleUuidPointer to service UUID; use BLE_UUIDxx_DECLARE macros to declare proper UUID; NULL if there are no more characteristics in the service.
mHandle: u16Handle of service; written to by stack after call to otPlatBleGattServerServicesRegister.
mCharacteristics: *mut otPlatBleGattCharacteristicArray of characteristic definitions corresponding to characteristics belonging to this service.
Trait Implementations§
Source§impl Clone for otPlatBleGattService
impl Clone for otPlatBleGattService
Source§fn clone(&self) -> otPlatBleGattService
fn clone(&self) -> otPlatBleGattService
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 moreimpl Copy for otPlatBleGattService
Auto Trait Implementations§
impl Freeze for otPlatBleGattService
impl RefUnwindSafe for otPlatBleGattService
impl !Send for otPlatBleGattService
impl !Sync for otPlatBleGattService
impl Unpin for otPlatBleGattService
impl UnwindSafe for otPlatBleGattService
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