pub struct BleDeviceInfo {
pub address: String,
pub connected: bool,
pub services: Vec<BleService>,
}Expand description
Result of a BLE info/connect: the device’s GATT database.
Fields§
§address: StringDevice address.
connected: boolWhether the box reached the device.
services: Vec<BleService>Enumerated GATT services.
Trait Implementations§
Source§impl Clone for BleDeviceInfo
impl Clone for BleDeviceInfo
Source§fn clone(&self) -> BleDeviceInfo
fn clone(&self) -> BleDeviceInfo
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 BleDeviceInfo
impl Debug for BleDeviceInfo
Source§impl<'de> Deserialize<'de> for BleDeviceInfo
impl<'de> Deserialize<'de> for BleDeviceInfo
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 BleDeviceInfo
impl RefUnwindSafe for BleDeviceInfo
impl Send for BleDeviceInfo
impl Sync for BleDeviceInfo
impl Unpin for BleDeviceInfo
impl UnsafeUnpin for BleDeviceInfo
impl UnwindSafe for BleDeviceInfo
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