pub struct GattOperationReceived {
pub address: String,
pub type_: GATTOperationType,
}Expand description
Event for when a GATT operation of |type| to the peripheral with |address| happened.
Fields§
§address: String§type_: GATTOperationTypeImplementations§
Trait Implementations§
Source§impl Clone for GattOperationReceived
impl Clone for GattOperationReceived
Source§fn clone(&self) -> GattOperationReceived
fn clone(&self) -> GattOperationReceived
Returns a duplicate of the value. Read more
1.0.0 · 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 GattOperationReceived
impl Debug for GattOperationReceived
Source§impl<'de> Deserialize<'de> for GattOperationReceived
impl<'de> Deserialize<'de> for GattOperationReceived
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 GattOperationReceived
impl RefUnwindSafe for GattOperationReceived
impl Send for GattOperationReceived
impl Sync for GattOperationReceived
impl Unpin for GattOperationReceived
impl UnsafeUnpin for GattOperationReceived
impl UnwindSafe for GattOperationReceived
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