pub struct BleService {
pub uuid: String,
pub primary: bool,
pub characteristics: Vec<BleCharacteristic>,
}Expand description
A GATT service with its characteristics.
Fields§
§uuid: StringService UUID.
primary: boolPrimary service.
characteristics: Vec<BleCharacteristic>Characteristics.
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
Source§impl From<&Service> for BleService
impl From<&Service> for BleService
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