pub struct CharacteristicOperationReceived {
pub method: CharacteristicOperationReceivedMethod,
pub params: CharacteristicOperationReceivedParams,
}Expand description
Event for when a characteristic operation of |type| to the characteristic respresented by |characteristicId| happened. |data| and |writeType| is expected to exist when |type| is write. characteristicOperationReceived
Fields§
§method: CharacteristicOperationReceivedMethod§params: CharacteristicOperationReceivedParamsImplementations§
Source§impl CharacteristicOperationReceived
impl CharacteristicOperationReceived
pub const IDENTIFIER: &'static str = "BluetoothEmulation.characteristicOperationReceived"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CharacteristicOperationReceived
impl Clone for CharacteristicOperationReceived
Source§fn clone(&self) -> CharacteristicOperationReceived
fn clone(&self) -> CharacteristicOperationReceived
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<'de> Deserialize<'de> for CharacteristicOperationReceived
impl<'de> Deserialize<'de> for CharacteristicOperationReceived
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<CharacteristicOperationReceived> for BluetoothEmulationEvents
impl From<CharacteristicOperationReceived> for BluetoothEmulationEvents
Source§fn from(v: CharacteristicOperationReceived) -> Self
fn from(v: CharacteristicOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<CharacteristicOperationReceived> for BrowserProtocolEvents
impl From<CharacteristicOperationReceived> for BrowserProtocolEvents
Source§fn from(v: CharacteristicOperationReceived) -> Self
fn from(v: CharacteristicOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<CharacteristicOperationReceived> for Event
impl From<CharacteristicOperationReceived> for Event
Source§fn from(v: CharacteristicOperationReceived) -> Self
fn from(v: CharacteristicOperationReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CharacteristicOperationReceived
impl PartialEq for CharacteristicOperationReceived
Source§fn eq(&self, other: &CharacteristicOperationReceived) -> bool
fn eq(&self, other: &CharacteristicOperationReceived) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BluetoothEmulationEvents> for CharacteristicOperationReceived
impl TryFrom<BluetoothEmulationEvents> for CharacteristicOperationReceived
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, <CharacteristicOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
fn try_from( e: BluetoothEmulationEvents, ) -> Result<Self, <CharacteristicOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for CharacteristicOperationReceived
impl TryFrom<BrowserProtocolEvents> for CharacteristicOperationReceived
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, <CharacteristicOperationReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <CharacteristicOperationReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for CharacteristicOperationReceived
Auto Trait Implementations§
impl Freeze for CharacteristicOperationReceived
impl RefUnwindSafe for CharacteristicOperationReceived
impl Send for CharacteristicOperationReceived
impl Sync for CharacteristicOperationReceived
impl Unpin for CharacteristicOperationReceived
impl UnsafeUnpin for CharacteristicOperationReceived
impl UnwindSafe for CharacteristicOperationReceived
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