pub struct DeviceRequestPromptedParams {
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. deviceRequestPrompted
Fields§
§id: RequestId§devices: Vec<PromptDevice>Trait Implementations§
Source§impl Clone for DeviceRequestPromptedParams
impl Clone for DeviceRequestPromptedParams
Source§fn clone(&self) -> DeviceRequestPromptedParams
fn clone(&self) -> DeviceRequestPromptedParams
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 DeviceRequestPromptedParams
impl Debug for DeviceRequestPromptedParams
Source§impl<'de> Deserialize<'de> for DeviceRequestPromptedParams
impl<'de> Deserialize<'de> for DeviceRequestPromptedParams
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 DeviceRequestPromptedParams
Auto Trait Implementations§
impl Freeze for DeviceRequestPromptedParams
impl RefUnwindSafe for DeviceRequestPromptedParams
impl Send for DeviceRequestPromptedParams
impl Sync for DeviceRequestPromptedParams
impl Unpin for DeviceRequestPromptedParams
impl UnsafeUnpin for DeviceRequestPromptedParams
impl UnwindSafe for DeviceRequestPromptedParams
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