pub struct SelectPrompt {
pub method: SelectPromptMethod,
pub params: SelectPromptParams,
}Expand description
Select a device in response to a DeviceAccess.deviceRequestPrompted event. selectPrompt
Fields§
§method: SelectPromptMethod§params: SelectPromptParamsImplementations§
Source§impl SelectPrompt
impl SelectPrompt
pub fn builder() -> SelectPromptBuilder
Source§impl SelectPrompt
impl SelectPrompt
pub const IDENTIFIER: &'static str = "DeviceAccess.selectPrompt"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SelectPrompt
impl Clone for SelectPrompt
Source§fn clone(&self) -> SelectPrompt
fn clone(&self) -> SelectPrompt
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 CommandResult for SelectPrompt
impl CommandResult for SelectPrompt
type Result = SelectPromptResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SelectPrompt
impl Debug for SelectPrompt
Source§impl<'de> Deserialize<'de> for SelectPrompt
impl<'de> Deserialize<'de> for SelectPrompt
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<SelectPrompt> for BrowserProtocolCommands
impl From<SelectPrompt> for BrowserProtocolCommands
Source§fn from(v: SelectPrompt) -> Self
fn from(v: SelectPrompt) -> Self
Converts to this type from the input type.
Source§impl From<SelectPrompt> for Command
impl From<SelectPrompt> for Command
Source§fn from(v: SelectPrompt) -> Self
fn from(v: SelectPrompt) -> Self
Converts to this type from the input type.
Source§impl From<SelectPrompt> for DeviceAccessCommands
impl From<SelectPrompt> for DeviceAccessCommands
Source§fn from(v: SelectPrompt) -> Self
fn from(v: SelectPrompt) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SelectPrompt
impl PartialEq for SelectPrompt
Source§impl Serialize for SelectPrompt
impl Serialize for SelectPrompt
Source§impl TryFrom<BrowserProtocolCommands> for SelectPrompt
impl TryFrom<BrowserProtocolCommands> for SelectPrompt
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SelectPrompt as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SelectPrompt as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SelectPrompt
impl TryFrom<Command> for SelectPrompt
Source§impl TryFrom<DeviceAccessCommands> for SelectPrompt
impl TryFrom<DeviceAccessCommands> for SelectPrompt
Source§type Error = DeviceAccessCommands
type Error = DeviceAccessCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DeviceAccessCommands,
) -> Result<Self, <SelectPrompt as TryFrom<DeviceAccessCommands>>::Error>
fn try_from( e: DeviceAccessCommands, ) -> Result<Self, <SelectPrompt as TryFrom<DeviceAccessCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SelectPrompt
Auto Trait Implementations§
impl Freeze for SelectPrompt
impl RefUnwindSafe for SelectPrompt
impl Send for SelectPrompt
impl Sync for SelectPrompt
impl Unpin for SelectPrompt
impl UnsafeUnpin for SelectPrompt
impl UnwindSafe for SelectPrompt
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