pub struct EmulateCommand {
pub viewport: Option<ViewportSize>,
pub geolocation: Option<GeolocationCoordinates>,
pub mobile: Option<bool>,
}Fields§
§viewport: Option<ViewportSize>§geolocation: Option<GeolocationCoordinates>§mobile: Option<bool>Mobile device-metrics flag (Chromium); harmless elsewhere.
Trait Implementations§
Source§impl Clone for EmulateCommand
impl Clone for EmulateCommand
Source§impl Debug for EmulateCommand
impl Debug for EmulateCommand
Source§impl Default for EmulateCommand
impl Default for EmulateCommand
Source§impl<'de> Deserialize<'de> for EmulateCommand
impl<'de> Deserialize<'de> for EmulateCommand
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
Auto Trait Implementations§
impl Freeze for EmulateCommand
impl RefUnwindSafe for EmulateCommand
impl Send for EmulateCommand
impl Sync for EmulateCommand
impl Unpin for EmulateCommand
impl UnsafeUnpin for EmulateCommand
impl UnwindSafe for EmulateCommand
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