Skip to main content

browser_protocol/deviceorientation/
mod.rs

1use serde::{Serialize, Deserialize};
2
3/// Overrides the Device Orientation.
4
5#[derive(Debug, Clone, Serialize, Deserialize, Default)]
6#[serde(rename_all = "camelCase")]
7pub struct SetDeviceOrientationOverrideParams {
8    /// Mock alpha
9
10    pub alpha: f64,
11    /// Mock beta
12
13    pub beta: f64,
14    /// Mock gamma
15
16    pub gamma: f64,
17}