pub struct BleService {
pub uuid: String,
pub description: Option<String>,
pub characteristics: Vec<BleCharacteristic>,
}Expand description
One GATT service enumerated from a connected BLE device.
Fields§
§uuid: StringService UUID.
description: Option<String>Human-readable description, when known.
characteristics: Vec<BleCharacteristic>Characteristics under this service.
Trait Implementations§
Source§impl Clone for BleService
impl Clone for BleService
Source§fn clone(&self) -> BleService
fn clone(&self) -> BleService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BleService
impl Debug for BleService
Source§impl<'de> Deserialize<'de> for BleService
impl<'de> Deserialize<'de> for BleService
Source§fn 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
Auto Trait Implementations§
impl Freeze for BleService
impl RefUnwindSafe for BleService
impl Send for BleService
impl Sync for BleService
impl Unpin for BleService
impl UnsafeUnpin for BleService
impl UnwindSafe for BleService
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