pub struct CharacteristicDescriptor {
pub uuid: Uuid,
pub name: &'static str,
pub properties: CharacteristicProperties,
pub encrypted: bool,
}Expand description
GATT characteristic descriptor
Fields§
§uuid: UuidCharacteristic UUID
name: &'static strHuman-readable name
properties: CharacteristicPropertiesProperties (read, write, notify, etc.)
encrypted: boolWhether encryption is required
Trait Implementations§
Source§impl Clone for CharacteristicDescriptor
impl Clone for CharacteristicDescriptor
Source§fn clone(&self) -> CharacteristicDescriptor
fn clone(&self) -> CharacteristicDescriptor
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CharacteristicDescriptor
impl RefUnwindSafe for CharacteristicDescriptor
impl Send for CharacteristicDescriptor
impl Sync for CharacteristicDescriptor
impl Unpin for CharacteristicDescriptor
impl UnwindSafe for CharacteristicDescriptor
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