Struct chromiumoxide_cdp::cdp::browser_protocol::emulation::SetGeolocationOverrideParams [−][src]
pub struct SetGeolocationOverrideParams { pub latitude: Option<f64>, pub longitude: Option<f64>, pub accuracy: Option<f64>, }
Expand description
Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. setGeolocationOverride
Fields
latitude: Option<f64>
Mock latitude
longitude: Option<f64>
Mock longitude
accuracy: Option<f64>
Mock accuracy
Implementations
Trait Implementations
The type of the response this request triggers on the chromium server
Returns the “default value” for a type. Read more
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for SetGeolocationOverrideParams
impl Sync for SetGeolocationOverrideParams
impl Unpin for SetGeolocationOverrideParams
impl UnwindSafe for SetGeolocationOverrideParams
Blanket Implementations
Mutably borrows from an owned value. Read more