pub struct DeviceRequestPrompted {
pub method: DeviceRequestPromptedMethod,
pub params: DeviceRequestPromptedParams,
}Expand description
A device request opened a user prompt to select a device. Respond with the selectPrompt or cancelPrompt command. deviceRequestPrompted
Fields§
§method: DeviceRequestPromptedMethod§params: DeviceRequestPromptedParamsImplementations§
Source§impl DeviceRequestPrompted
impl DeviceRequestPrompted
pub const IDENTIFIER: &'static str = "DeviceAccess.deviceRequestPrompted"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DeviceRequestPrompted
impl Clone for DeviceRequestPrompted
Source§fn clone(&self) -> DeviceRequestPrompted
fn clone(&self) -> DeviceRequestPrompted
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 DeviceRequestPrompted
impl Debug for DeviceRequestPrompted
Source§impl<'de> Deserialize<'de> for DeviceRequestPrompted
impl<'de> Deserialize<'de> for DeviceRequestPrompted
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<DeviceRequestPrompted> for BrowserProtocolEvents
impl From<DeviceRequestPrompted> for BrowserProtocolEvents
Source§fn from(v: DeviceRequestPrompted) -> Self
fn from(v: DeviceRequestPrompted) -> Self
Converts to this type from the input type.
Source§impl From<DeviceRequestPrompted> for DeviceAccessEvents
impl From<DeviceRequestPrompted> for DeviceAccessEvents
Source§fn from(v: DeviceRequestPrompted) -> Self
fn from(v: DeviceRequestPrompted) -> Self
Converts to this type from the input type.
Source§impl From<DeviceRequestPrompted> for Event
impl From<DeviceRequestPrompted> for Event
Source§fn from(v: DeviceRequestPrompted) -> Self
fn from(v: DeviceRequestPrompted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceRequestPrompted
impl PartialEq for DeviceRequestPrompted
Source§impl Serialize for DeviceRequestPrompted
impl Serialize for DeviceRequestPrompted
Source§impl TryFrom<BrowserProtocolEvents> for DeviceRequestPrompted
impl TryFrom<BrowserProtocolEvents> for DeviceRequestPrompted
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, <DeviceRequestPrompted as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DeviceRequestPrompted as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<DeviceAccessEvents> for DeviceRequestPrompted
impl TryFrom<DeviceAccessEvents> for DeviceRequestPrompted
Source§type Error = DeviceAccessEvents
type Error = DeviceAccessEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: DeviceAccessEvents,
) -> Result<Self, <DeviceRequestPrompted as TryFrom<DeviceAccessEvents>>::Error>
fn try_from( e: DeviceAccessEvents, ) -> Result<Self, <DeviceRequestPrompted as TryFrom<DeviceAccessEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DeviceRequestPrompted
impl TryFrom<Event> for DeviceRequestPrompted
impl StructuralPartialEq for DeviceRequestPrompted
Auto Trait Implementations§
impl Freeze for DeviceRequestPrompted
impl RefUnwindSafe for DeviceRequestPrompted
impl Send for DeviceRequestPrompted
impl Sync for DeviceRequestPrompted
impl Unpin for DeviceRequestPrompted
impl UnsafeUnpin for DeviceRequestPrompted
impl UnwindSafe for DeviceRequestPrompted
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