pub struct SetGeolocationOverride {
pub method: SetGeolocationOverrideMethod,
pub params: SetGeolocationOverrideParams,
}Fields§
§method: SetGeolocationOverrideMethod§params: SetGeolocationOverrideParamsImplementations§
Source§impl SetGeolocationOverride
impl SetGeolocationOverride
pub fn builder() -> SetGeolocationOverrideBuilder
Source§impl SetGeolocationOverride
impl SetGeolocationOverride
pub const IDENTIFIER: &'static str = "emulation.setGeolocationOverride"
pub const DOMAIN_DIRECTION: &'static str = "remote"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetGeolocationOverride
impl Clone for SetGeolocationOverride
Source§fn clone(&self) -> SetGeolocationOverride
fn clone(&self) -> SetGeolocationOverride
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 SetGeolocationOverride
impl CommandResult for SetGeolocationOverride
type Result = SetGeolocationOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetGeolocationOverride
impl Debug for SetGeolocationOverride
Source§impl<'de> Deserialize<'de> for SetGeolocationOverride
impl<'de> Deserialize<'de> for SetGeolocationOverride
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<SetGeolocationOverride> for Command
impl From<SetGeolocationOverride> for Command
Source§fn from(v: SetGeolocationOverride) -> Self
fn from(v: SetGeolocationOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetGeolocationOverride> for EmulationCommand
impl From<SetGeolocationOverride> for EmulationCommand
Source§fn from(v: SetGeolocationOverride) -> Self
fn from(v: SetGeolocationOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetGeolocationOverride
impl PartialEq for SetGeolocationOverride
Source§impl Serialize for SetGeolocationOverride
impl Serialize for SetGeolocationOverride
Source§impl TryFrom<Command> for SetGeolocationOverride
impl TryFrom<Command> for SetGeolocationOverride
Source§impl TryFrom<EmulationCommand> for SetGeolocationOverride
impl TryFrom<EmulationCommand> for SetGeolocationOverride
Source§type Error = EmulationCommand
type Error = EmulationCommand
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommand,
) -> Result<Self, <SetGeolocationOverride as TryFrom<EmulationCommand>>::Error>
fn try_from( e: EmulationCommand, ) -> Result<Self, <SetGeolocationOverride as TryFrom<EmulationCommand>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetGeolocationOverride
Auto Trait Implementations§
impl Freeze for SetGeolocationOverride
impl RefUnwindSafe for SetGeolocationOverride
impl Send for SetGeolocationOverride
impl Sync for SetGeolocationOverride
impl Unpin for SetGeolocationOverride
impl UnsafeUnpin for SetGeolocationOverride
impl UnwindSafe for SetGeolocationOverride
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more