pub struct BleCharacteristic {
pub uuid: String,
pub description: Option<String>,
pub properties: Vec<String>,
}Expand description
One GATT characteristic inside a BleService.
Fields§
§uuid: StringCharacteristic UUID.
description: Option<String>Human-readable description, when known.
properties: Vec<String>Supported operations, e.g. ["read", "notify"].
Trait Implementations§
Source§impl Clone for BleCharacteristic
impl Clone for BleCharacteristic
Source§fn clone(&self) -> BleCharacteristic
fn clone(&self) -> BleCharacteristic
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 BleCharacteristic
impl Debug for BleCharacteristic
Source§impl<'de> Deserialize<'de> for BleCharacteristic
impl<'de> Deserialize<'de> for BleCharacteristic
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 BleCharacteristic
impl RefUnwindSafe for BleCharacteristic
impl Send for BleCharacteristic
impl Sync for BleCharacteristic
impl Unpin for BleCharacteristic
impl UnsafeUnpin for BleCharacteristic
impl UnwindSafe for BleCharacteristic
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