Struct bluez_async::DescriptorId
source · [−]pub struct DescriptorId { /* private fields */ }
Expand description
Opaque identifier for a GATT characteristic descriptor on a Bluetooth device.
Implementations
sourceimpl DescriptorId
impl DescriptorId
sourcepub fn characteristic(&self) -> CharacteristicId
pub fn characteristic(&self) -> CharacteristicId
Get the ID of the characteristic on which this descriptor was advertised.
Trait Implementations
sourceimpl Clone for DescriptorId
impl Clone for DescriptorId
sourcefn clone(&self) -> DescriptorId
fn clone(&self) -> DescriptorId
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 DescriptorId
impl Debug for DescriptorId
sourceimpl<'de> Deserialize<'de> for DescriptorId
impl<'de> Deserialize<'de> for DescriptorId
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for DescriptorId
impl Display for DescriptorId
sourceimpl From<DescriptorId> for Path<'static>
impl From<DescriptorId> for Path<'static>
sourcefn from(id: DescriptorId) -> Self
fn from(id: DescriptorId) -> Self
Converts to this type from the input type.
sourceimpl Hash for DescriptorId
impl Hash for DescriptorId
sourceimpl Ord for DescriptorId
impl Ord for DescriptorId
sourceimpl PartialEq<DescriptorId> for DescriptorId
impl PartialEq<DescriptorId> for DescriptorId
sourcefn eq(&self, other: &DescriptorId) -> bool
fn eq(&self, other: &DescriptorId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescriptorId) -> bool
fn ne(&self, other: &DescriptorId) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DescriptorId> for DescriptorId
impl PartialOrd<DescriptorId> for DescriptorId
sourcefn partial_cmp(&self, other: &DescriptorId) -> Option<Ordering>
fn partial_cmp(&self, other: &DescriptorId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for DescriptorId
impl Serialize for DescriptorId
impl Eq for DescriptorId
impl StructuralEq for DescriptorId
impl StructuralPartialEq for DescriptorId
Auto Trait Implementations
impl RefUnwindSafe for DescriptorId
impl Send for DescriptorId
impl Sync for DescriptorId
impl Unpin for DescriptorId
impl UnwindSafe for DescriptorId
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