pub struct GattOperationReceivedEvent {
pub address: String,
pub type: GattOperationType,
}Expand description
Event for when a GATT operation of |type| to the peripheral with |address| happened.
Payload of the BluetoothEmulation.gattOperationReceived event.
Fields§
§address: String§type: GattOperationTypeTrait Implementations§
Source§impl Clone for GattOperationReceivedEvent
impl Clone for GattOperationReceivedEvent
Source§impl Debug for GattOperationReceivedEvent
impl Debug for GattOperationReceivedEvent
Source§impl<'de> Deserialize<'de> for GattOperationReceivedEvent
impl<'de> Deserialize<'de> for GattOperationReceivedEvent
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 Event for GattOperationReceivedEvent
impl Event for GattOperationReceivedEvent
impl StructuralPartialEq for GattOperationReceivedEvent
Auto Trait Implementations§
impl Forget for GattOperationReceivedEvent
impl Freeze for GattOperationReceivedEvent
impl RefUnwindSafe for GattOperationReceivedEvent
impl Send for GattOperationReceivedEvent
impl Sync for GattOperationReceivedEvent
impl Unpin for GattOperationReceivedEvent
impl UnsafeUnpin for GattOperationReceivedEvent
impl UnwindSafe for GattOperationReceivedEvent
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