pub struct DeviceRequestPromptedEventParams {
pub id: RequestId,
pub devices: Vec<PromptDevice>,
}Fields§
§id: RequestId§devices: Vec<PromptDevice>Trait Implementations§
Source§impl Clone for DeviceRequestPromptedEventParams
impl Clone for DeviceRequestPromptedEventParams
Source§fn clone(&self) -> DeviceRequestPromptedEventParams
fn clone(&self) -> DeviceRequestPromptedEventParams
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<'de> Deserialize<'de> for DeviceRequestPromptedEventParams
impl<'de> Deserialize<'de> for DeviceRequestPromptedEventParams
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 PartialEq for DeviceRequestPromptedEventParams
impl PartialEq for DeviceRequestPromptedEventParams
Source§fn eq(&self, other: &DeviceRequestPromptedEventParams) -> bool
fn eq(&self, other: &DeviceRequestPromptedEventParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceRequestPromptedEventParams
Auto Trait Implementations§
impl Freeze for DeviceRequestPromptedEventParams
impl RefUnwindSafe for DeviceRequestPromptedEventParams
impl Send for DeviceRequestPromptedEventParams
impl Sync for DeviceRequestPromptedEventParams
impl Unpin for DeviceRequestPromptedEventParams
impl UnwindSafe for DeviceRequestPromptedEventParams
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