pub struct DescriptorOperationReceived {
pub method: DescriptorOperationReceivedMethod,
pub params: DescriptorOperationReceivedParams,
}Expand description
Event for when a descriptor operation of |type| to the descriptor respresented by |descriptorId| happened. |data| is expected to exist when |type| is write. descriptorOperationReceived
Fields§
§method: DescriptorOperationReceivedMethod§params: DescriptorOperationReceivedParamsImplementations§
Source§impl DescriptorOperationReceived
impl DescriptorOperationReceived
pub const IDENTIFIER: &'static str = "BluetoothEmulation.descriptorOperationReceived"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DescriptorOperationReceived
impl Clone for DescriptorOperationReceived
Source§fn clone(&self) -> DescriptorOperationReceived
fn clone(&self) -> DescriptorOperationReceived
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 DescriptorOperationReceived
impl Debug for DescriptorOperationReceived
Source§impl<'de> Deserialize<'de> for DescriptorOperationReceived
impl<'de> Deserialize<'de> for DescriptorOperationReceived
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<DescriptorOperationReceived> for BluetoothEmulationEvents
impl From<DescriptorOperationReceived> for BluetoothEmulationEvents
Source§fn from(v: DescriptorOperationReceived) -> Self
fn from(v: DescriptorOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<DescriptorOperationReceived> for BrowserProtocolEvents
impl From<DescriptorOperationReceived> for BrowserProtocolEvents
Source§fn from(v: DescriptorOperationReceived) -> Self
fn from(v: DescriptorOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<DescriptorOperationReceived> for Event
impl From<DescriptorOperationReceived> for Event
Source§fn from(v: DescriptorOperationReceived) -> Self
fn from(v: DescriptorOperationReceived) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BluetoothEmulationEvents> for DescriptorOperationReceived
impl TryFrom<BluetoothEmulationEvents> for DescriptorOperationReceived
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, <DescriptorOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
fn try_from( e: BluetoothEmulationEvents, ) -> Result<Self, <DescriptorOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for DescriptorOperationReceived
impl TryFrom<BrowserProtocolEvents> for DescriptorOperationReceived
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, <DescriptorOperationReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DescriptorOperationReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DescriptorOperationReceived
impl TryFrom<Event> for DescriptorOperationReceived
impl StructuralPartialEq for DescriptorOperationReceived
Auto Trait Implementations§
impl Freeze for DescriptorOperationReceived
impl RefUnwindSafe for DescriptorOperationReceived
impl Send for DescriptorOperationReceived
impl Sync for DescriptorOperationReceived
impl Unpin for DescriptorOperationReceived
impl UnsafeUnpin for DescriptorOperationReceived
impl UnwindSafe for DescriptorOperationReceived
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