Struct bluez_async::ServiceInfo
source · pub struct ServiceInfo {
pub id: ServiceId,
pub uuid: Uuid,
pub primary: bool,
}
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§
source§impl Clone for ServiceInfo
impl Clone for ServiceInfo
source§fn clone(&self) -> ServiceInfo
fn clone(&self) -> ServiceInfo
Returns a copy 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 ServiceInfo
impl Debug for ServiceInfo
source§impl PartialEq<ServiceInfo> for ServiceInfo
impl PartialEq<ServiceInfo> for ServiceInfo
source§fn 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 ==
.