pub struct ResetPageScaleFactor {
pub method: ResetPageScaleFactorMethod,
pub params: ResetPageScaleFactorParams,
}Expand description
Requests that page scale factor is reset to initial values. resetPageScaleFactor
Fields§
§method: ResetPageScaleFactorMethod§params: ResetPageScaleFactorParamsImplementations§
Source§impl ResetPageScaleFactor
impl ResetPageScaleFactor
pub fn builder() -> ResetPageScaleFactorBuilder
Source§impl ResetPageScaleFactor
impl ResetPageScaleFactor
pub const IDENTIFIER: &'static str = "Emulation.resetPageScaleFactor"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ResetPageScaleFactor
impl Clone for ResetPageScaleFactor
Source§fn clone(&self) -> ResetPageScaleFactor
fn clone(&self) -> ResetPageScaleFactor
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 ResetPageScaleFactor
impl CommandResult for ResetPageScaleFactor
type Result = ResetPageScaleFactorResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ResetPageScaleFactor
impl Debug for ResetPageScaleFactor
Source§impl<'de> Deserialize<'de> for ResetPageScaleFactor
impl<'de> Deserialize<'de> for ResetPageScaleFactor
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<ResetPageScaleFactor> for BrowserProtocolCommands
impl From<ResetPageScaleFactor> for BrowserProtocolCommands
Source§fn from(v: ResetPageScaleFactor) -> Self
fn from(v: ResetPageScaleFactor) -> Self
Converts to this type from the input type.
Source§impl From<ResetPageScaleFactor> for Command
impl From<ResetPageScaleFactor> for Command
Source§fn from(v: ResetPageScaleFactor) -> Self
fn from(v: ResetPageScaleFactor) -> Self
Converts to this type from the input type.
Source§impl From<ResetPageScaleFactor> for EmulationCommands
impl From<ResetPageScaleFactor> for EmulationCommands
Source§fn from(v: ResetPageScaleFactor) -> Self
fn from(v: ResetPageScaleFactor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResetPageScaleFactor
impl PartialEq for ResetPageScaleFactor
Source§impl Serialize for ResetPageScaleFactor
impl Serialize for ResetPageScaleFactor
Source§impl TryFrom<BrowserProtocolCommands> for ResetPageScaleFactor
impl TryFrom<BrowserProtocolCommands> for ResetPageScaleFactor
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, <ResetPageScaleFactor as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ResetPageScaleFactor as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ResetPageScaleFactor
impl TryFrom<Command> for ResetPageScaleFactor
Source§impl TryFrom<EmulationCommands> for ResetPageScaleFactor
impl TryFrom<EmulationCommands> for ResetPageScaleFactor
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, <ResetPageScaleFactor as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <ResetPageScaleFactor as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ResetPageScaleFactor
Auto Trait Implementations§
impl Freeze for ResetPageScaleFactor
impl RefUnwindSafe for ResetPageScaleFactor
impl Send for ResetPageScaleFactor
impl Sync for ResetPageScaleFactor
impl Unpin for ResetPageScaleFactor
impl UnsafeUnpin for ResetPageScaleFactor
impl UnwindSafe for ResetPageScaleFactor
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