pub struct GattOperationReceived {
pub method: GattOperationReceivedMethod,
pub params: GattOperationReceivedParams,
}Expand description
Event for when a GATT operation of |type| to the peripheral with |address| happened. gattOperationReceived
Fields§
§method: GattOperationReceivedMethod§params: GattOperationReceivedParamsImplementations§
Source§impl GattOperationReceived
impl GattOperationReceived
pub const IDENTIFIER: &'static str = "BluetoothEmulation.gattOperationReceived"
pub fn identifier(&self) -> &'static str
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
Source§impl From<GattOperationReceived> for BluetoothEmulationEvents
impl From<GattOperationReceived> for BluetoothEmulationEvents
Source§fn from(v: GattOperationReceived) -> Self
fn from(v: GattOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<GattOperationReceived> for BrowserProtocolEvents
impl From<GattOperationReceived> for BrowserProtocolEvents
Source§fn from(v: GattOperationReceived) -> Self
fn from(v: GattOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<GattOperationReceived> for Event
impl From<GattOperationReceived> for Event
Source§fn from(v: GattOperationReceived) -> Self
fn from(v: GattOperationReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GattOperationReceived
impl PartialEq for GattOperationReceived
Source§impl Serialize for GattOperationReceived
impl Serialize for GattOperationReceived
Source§impl TryFrom<BluetoothEmulationEvents> for GattOperationReceived
impl TryFrom<BluetoothEmulationEvents> for GattOperationReceived
Source§type Error = BluetoothEmulationEvents
type Error = BluetoothEmulationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BluetoothEmulationEvents,
) -> Result<Self, <GattOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
fn try_from( e: BluetoothEmulationEvents, ) -> Result<Self, <GattOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for GattOperationReceived
impl TryFrom<BrowserProtocolEvents> for GattOperationReceived
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <GattOperationReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <GattOperationReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for GattOperationReceived
impl TryFrom<Event> for GattOperationReceived
impl StructuralPartialEq for GattOperationReceived
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