pub struct DeviceRequestPromptedEvent {
pub id: RequestId,
pub devices: Vec<PromptDevice>,
}Expand description
A device request opened a user prompt to select a device. Respond with the selectPrompt or cancelPrompt command.
Payload of the DeviceAccess.deviceRequestPrompted event.
Fields§
§id: RequestId§devices: Vec<PromptDevice>Trait Implementations§
Source§impl Clone for DeviceRequestPromptedEvent
impl Clone for DeviceRequestPromptedEvent
Source§impl Debug for DeviceRequestPromptedEvent
impl Debug for DeviceRequestPromptedEvent
Source§impl Default for DeviceRequestPromptedEvent
impl Default for DeviceRequestPromptedEvent
Source§impl<'de> Deserialize<'de> for DeviceRequestPromptedEvent
impl<'de> Deserialize<'de> for DeviceRequestPromptedEvent
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 Event for DeviceRequestPromptedEvent
impl Event for DeviceRequestPromptedEvent
impl StructuralPartialEq for DeviceRequestPromptedEvent
Auto Trait Implementations§
impl Forget for DeviceRequestPromptedEvent
impl Freeze for DeviceRequestPromptedEvent
impl RefUnwindSafe for DeviceRequestPromptedEvent
impl Send for DeviceRequestPromptedEvent
impl Sync for DeviceRequestPromptedEvent
impl Unpin for DeviceRequestPromptedEvent
impl UnsafeUnpin for DeviceRequestPromptedEvent
impl UnwindSafe for DeviceRequestPromptedEvent
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