pub struct ClearGeolocationOverride {
pub method: ClearGeolocationOverrideMethod,
pub params: ClearGeolocationOverrideParams,
}Expand description
Clears the overridden Geolocation Position and Error. clearGeolocationOverride
Fields§
§method: ClearGeolocationOverrideMethod§params: ClearGeolocationOverrideParamsImplementations§
Source§impl ClearGeolocationOverride
impl ClearGeolocationOverride
pub const IDENTIFIER: &'static str = "Emulation.clearGeolocationOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ClearGeolocationOverride
impl Clone for ClearGeolocationOverride
Source§fn clone(&self) -> ClearGeolocationOverride
fn clone(&self) -> ClearGeolocationOverride
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 CommandResult for ClearGeolocationOverride
impl CommandResult for ClearGeolocationOverride
type Result = ClearGeolocationOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ClearGeolocationOverride
impl Debug for ClearGeolocationOverride
Source§impl<'de> Deserialize<'de> for ClearGeolocationOverride
impl<'de> Deserialize<'de> for ClearGeolocationOverride
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 From<ClearGeolocationOverride> for BrowserProtocolCommands
impl From<ClearGeolocationOverride> for BrowserProtocolCommands
Source§fn from(v: ClearGeolocationOverride) -> Self
fn from(v: ClearGeolocationOverride) -> Self
Converts to this type from the input type.
Source§impl From<ClearGeolocationOverride> for Command
impl From<ClearGeolocationOverride> for Command
Source§fn from(v: ClearGeolocationOverride) -> Self
fn from(v: ClearGeolocationOverride) -> Self
Converts to this type from the input type.
Source§impl From<ClearGeolocationOverride> for EmulationCommands
impl From<ClearGeolocationOverride> for EmulationCommands
Source§fn from(v: ClearGeolocationOverride) -> Self
fn from(v: ClearGeolocationOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClearGeolocationOverride
impl PartialEq for ClearGeolocationOverride
Source§impl Serialize for ClearGeolocationOverride
impl Serialize for ClearGeolocationOverride
Source§impl TryFrom<BrowserProtocolCommands> for ClearGeolocationOverride
impl TryFrom<BrowserProtocolCommands> for ClearGeolocationOverride
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ClearGeolocationOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ClearGeolocationOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ClearGeolocationOverride
impl TryFrom<Command> for ClearGeolocationOverride
Source§impl TryFrom<EmulationCommands> for ClearGeolocationOverride
impl TryFrom<EmulationCommands> for ClearGeolocationOverride
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <ClearGeolocationOverride as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <ClearGeolocationOverride as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ClearGeolocationOverride
Auto Trait Implementations§
impl Freeze for ClearGeolocationOverride
impl RefUnwindSafe for ClearGeolocationOverride
impl Send for ClearGeolocationOverride
impl Sync for ClearGeolocationOverride
impl Unpin for ClearGeolocationOverride
impl UnsafeUnpin for ClearGeolocationOverride
impl UnwindSafe for ClearGeolocationOverride
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