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: ServiceIdAn opaque identifier for the service on the device, including a reference to which adapter it was discovered on.
uuid: UuidThe 128-bit UUID of the service.
primary: boolWhether this GATT service is a primary service.
Trait Implementations§
Source§impl Clone for ServiceInfo
impl Clone for ServiceInfo
Source§impl Debug for ServiceInfo
impl Debug for ServiceInfo
impl Eq for ServiceInfo
Source§impl PartialEq for ServiceInfo
impl PartialEq for ServiceInfo
impl StructuralPartialEq for ServiceInfo
Auto Trait Implementations§
impl Freeze for ServiceInfo
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnsafeUnpin for ServiceInfo
impl UnwindSafe for ServiceInfo
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