pub struct GattCharacteristic {
pub uuid: String,
pub iid: u16,
}Expand description
One GATT characteristic discovered on the accessory.
Fields§
§uuid: StringThe 128-bit characteristic UUID (canonical 36-char string).
iid: u16The HAP characteristic instance id (from its Instance-ID descriptor).
Trait Implementations§
Source§impl Clone for GattCharacteristic
impl Clone for GattCharacteristic
Source§fn clone(&self) -> GattCharacteristic
fn clone(&self) -> GattCharacteristic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GattCharacteristic
impl Debug for GattCharacteristic
impl Eq for GattCharacteristic
Source§impl PartialEq for GattCharacteristic
impl PartialEq for GattCharacteristic
Source§fn eq(&self, other: &GattCharacteristic) -> bool
fn eq(&self, other: &GattCharacteristic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GattCharacteristic
Auto Trait Implementations§
impl Freeze for GattCharacteristic
impl RefUnwindSafe for GattCharacteristic
impl Send for GattCharacteristic
impl Sync for GattCharacteristic
impl Unpin for GattCharacteristic
impl UnsafeUnpin for GattCharacteristic
impl UnwindSafe for GattCharacteristic
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