pub struct DescriptorOperationReceivedEvent {
pub descriptor_id: String,
pub type: DescriptorOperationType,
pub data: Option<String>,
}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.
Payload of the BluetoothEmulation.descriptorOperationReceived event.
Fields§
§descriptor_id: String§type: DescriptorOperationType§data: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DescriptorOperationReceivedEvent
impl<'de> Deserialize<'de> for DescriptorOperationReceivedEvent
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
impl StructuralPartialEq for DescriptorOperationReceivedEvent
Auto Trait Implementations§
impl Forget for DescriptorOperationReceivedEvent
impl Freeze for DescriptorOperationReceivedEvent
impl RefUnwindSafe for DescriptorOperationReceivedEvent
impl Send for DescriptorOperationReceivedEvent
impl Sync for DescriptorOperationReceivedEvent
impl Unpin for DescriptorOperationReceivedEvent
impl UnsafeUnpin for DescriptorOperationReceivedEvent
impl UnwindSafe for DescriptorOperationReceivedEvent
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