pub struct Descriptor {
pub uuid: Uuid,
pub service_uuid: Uuid,
pub characteristic_uuid: Uuid,
}
Expand description
Add doc
Fields§
§uuid: Uuid
The UUID for this descriptor. This uniquely identifies its behavior.
service_uuid: Uuid
The UUID of the service this descriptor belongs to.
characteristic_uuid: Uuid
The UUID of the characteristic this descriptor belongs to.
Trait Implementations§
Source§impl Clone for Descriptor
impl Clone for Descriptor
Source§fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
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 moreSource§impl Debug for Descriptor
impl Debug for Descriptor
Source§impl Display for Descriptor
impl Display for Descriptor
Source§impl Ord for Descriptor
impl Ord for Descriptor
Source§fn cmp(&self, other: &Descriptor) -> Ordering
fn cmp(&self, other: &Descriptor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Descriptor
impl PartialEq for Descriptor
Source§impl PartialOrd for Descriptor
impl PartialOrd for Descriptor
impl Eq for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
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