pub struct SetLocaleOverride {
pub method: SetLocaleOverrideMethod,
pub params: SetLocaleOverrideParams,
}Expand description
Overrides default host system locale with the specified one. setLocaleOverride
Fields§
§method: SetLocaleOverrideMethod§params: SetLocaleOverrideParamsImplementations§
Source§impl SetLocaleOverride
impl SetLocaleOverride
pub fn builder() -> SetLocaleOverrideBuilder
Source§impl SetLocaleOverride
impl SetLocaleOverride
pub const IDENTIFIER: &'static str = "Emulation.setLocaleOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetLocaleOverride
impl Clone for SetLocaleOverride
Source§fn clone(&self) -> SetLocaleOverride
fn clone(&self) -> SetLocaleOverride
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 SetLocaleOverride
impl CommandResult for SetLocaleOverride
type Result = SetLocaleOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetLocaleOverride
impl Debug for SetLocaleOverride
Source§impl<'de> Deserialize<'de> for SetLocaleOverride
impl<'de> Deserialize<'de> for SetLocaleOverride
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<SetLocaleOverride> for BrowserProtocolCommands
impl From<SetLocaleOverride> for BrowserProtocolCommands
Source§fn from(v: SetLocaleOverride) -> Self
fn from(v: SetLocaleOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetLocaleOverride> for Command
impl From<SetLocaleOverride> for Command
Source§fn from(v: SetLocaleOverride) -> Self
fn from(v: SetLocaleOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetLocaleOverride> for EmulationCommands
impl From<SetLocaleOverride> for EmulationCommands
Source§fn from(v: SetLocaleOverride) -> Self
fn from(v: SetLocaleOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetLocaleOverride
impl PartialEq for SetLocaleOverride
Source§impl Serialize for SetLocaleOverride
impl Serialize for SetLocaleOverride
Source§impl TryFrom<BrowserProtocolCommands> for SetLocaleOverride
impl TryFrom<BrowserProtocolCommands> for SetLocaleOverride
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, <SetLocaleOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetLocaleOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetLocaleOverride
impl TryFrom<Command> for SetLocaleOverride
Source§impl TryFrom<EmulationCommands> for SetLocaleOverride
impl TryFrom<EmulationCommands> for SetLocaleOverride
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, <SetLocaleOverride as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetLocaleOverride as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetLocaleOverride
Auto Trait Implementations§
impl Freeze for SetLocaleOverride
impl RefUnwindSafe for SetLocaleOverride
impl Send for SetLocaleOverride
impl Sync for SetLocaleOverride
impl Unpin for SetLocaleOverride
impl UnsafeUnpin for SetLocaleOverride
impl UnwindSafe for SetLocaleOverride
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