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: GattOperationTypeImplementations§
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<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<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
Self: Sized + 'static,
fn event_kind() -> EventKindwhere
Self: Sized + 'static,
What kind of event this type is
Source§impl Method for EventGattOperationReceived
impl Method for EventGattOperationReceived
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§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