Struct bluez_async::ServiceInfo
source · [−]Expand description
Information about a GATT service on a Bluetooth device.
Fields
id: ServiceId
An opaque identifier for the service on the device, including a reference to which adapter it was discovered on.
uuid: Uuid
The 128-bit UUID of the service.
primary: bool
Whether this GATT service is a primary service.
Trait Implementations
sourceimpl Clone for ServiceInfo
impl Clone for ServiceInfo
sourcefn clone(&self) -> ServiceInfo
fn clone(&self) -> ServiceInfo
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 ServiceInfo
impl Debug for ServiceInfo
sourceimpl PartialEq<ServiceInfo> for ServiceInfo
impl PartialEq<ServiceInfo> for ServiceInfo
sourcefn eq(&self, other: &ServiceInfo) -> bool
fn eq(&self, other: &ServiceInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceInfo) -> bool
fn ne(&self, other: &ServiceInfo) -> bool
This method tests for !=
.
impl Eq for ServiceInfo
impl StructuralEq for ServiceInfo
impl StructuralPartialEq for ServiceInfo
Auto Trait Implementations
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnwindSafe for ServiceInfo
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