pub struct EventGattOperationReceived {
pub address: String,
pub type: GattOperationType,
}
Expand description
Event for when a GATT operation of |type| to the peripheral with |address| happened. gattOperationReceived
Fields§
§address: String
§type: GattOperationType
Implementations§
Source§impl EventGattOperationReceived
impl EventGattOperationReceived
pub const IDENTIFIER: &'static str = "BluetoothEmulation.gattOperationReceived"
Trait Implementations§
Source§impl Clone for EventGattOperationReceived
impl Clone for EventGattOperationReceived
Source§fn clone(&self) -> EventGattOperationReceived
fn clone(&self) -> EventGattOperationReceived
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 EventGattOperationReceived
impl Debug for EventGattOperationReceived
Source§impl<'de> Deserialize<'de> for EventGattOperationReceived
impl<'de> Deserialize<'de> for EventGattOperationReceived
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventGattOperationReceived, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventGattOperationReceived, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EventGattOperationReceived> for CdpEvent
impl From<EventGattOperationReceived> for CdpEvent
Source§fn from(el: EventGattOperationReceived) -> CdpEvent
fn from(el: EventGattOperationReceived) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventGattOperationReceived
impl IntoEventKind for EventGattOperationReceived
Source§fn event_kind() -> EventKindwhere
EventGattOperationReceived: Sized + 'static,
fn event_kind() -> EventKindwhere
EventGattOperationReceived: Sized + 'static,
What kind of event this type is
Source§impl Method for EventGattOperationReceived
impl Method for EventGattOperationReceived
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl Serialize for EventGattOperationReceived
impl Serialize for EventGattOperationReceived
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<CdpEvent> for EventGattOperationReceived
impl TryFrom<CdpEvent> for EventGattOperationReceived
impl StructuralPartialEq for EventGattOperationReceived
Auto Trait Implementations§
impl Freeze for EventGattOperationReceived
impl RefUnwindSafe for EventGattOperationReceived
impl Send for EventGattOperationReceived
impl Sync for EventGattOperationReceived
impl Unpin for EventGattOperationReceived
impl UnwindSafe for EventGattOperationReceived
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