Struct bluez_async::CharacteristicInfo
source · [−]pub struct CharacteristicInfo {
pub id: CharacteristicId,
pub uuid: Uuid,
pub flags: CharacteristicFlags,
}
Expand description
Information about a GATT characteristic on a Bluetooth device.
Fields
id: CharacteristicId
An opaque identifier for the characteristic on the device, including a reference to which adapter it was discovered on.
uuid: Uuid
The 128-bit UUID of the characteristic.
flags: CharacteristicFlags
The set of flags (a.k.a. properties) of the characteristic, defining how the characteristic can be used.
Trait Implementations
sourceimpl Clone for CharacteristicInfo
impl Clone for CharacteristicInfo
sourcefn clone(&self) -> CharacteristicInfo
fn clone(&self) -> CharacteristicInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CharacteristicInfo
impl Debug for CharacteristicInfo
sourceimpl PartialEq<CharacteristicInfo> for CharacteristicInfo
impl PartialEq<CharacteristicInfo> for CharacteristicInfo
sourcefn eq(&self, other: &CharacteristicInfo) -> bool
fn eq(&self, other: &CharacteristicInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CharacteristicInfo) -> bool
fn ne(&self, other: &CharacteristicInfo) -> bool
This method tests for !=
.
impl Eq for CharacteristicInfo
impl StructuralEq for CharacteristicInfo
impl StructuralPartialEq for CharacteristicInfo
Auto Trait Implementations
impl RefUnwindSafe for CharacteristicInfo
impl Send for CharacteristicInfo
impl Sync for CharacteristicInfo
impl Unpin for CharacteristicInfo
impl UnwindSafe for CharacteristicInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more