pub struct SetNavigatorOverrides {
pub platform: String,
}๐Deprecated
Expand description
Overrides value returned by the javascript navigator object.
Fieldsยง
ยงplatform: String๐Deprecated
The platform navigator.platform should return.
Trait Implementationsยง
Sourceยงfn clone(&self) -> SetNavigatorOverrides
fn clone(&self) -> SetNavigatorOverrides
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ยง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
const NAME: &'static str = "Emulation.setNavigatorOverrides"
type ReturnObject = SetNavigatorOverridesReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Auto Trait Implementationsยง
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