pub struct SetPageScaleFactor {
pub method: SetPageScaleFactorMethod,
pub params: SetPageScaleFactorParams,
}Expand description
Sets a specified page scale factor. setPageScaleFactor
Fields§
§method: SetPageScaleFactorMethod§params: SetPageScaleFactorParamsImplementations§
Source§impl SetPageScaleFactor
impl SetPageScaleFactor
pub fn builder() -> SetPageScaleFactorBuilder
Source§impl SetPageScaleFactor
impl SetPageScaleFactor
pub const IDENTIFIER: &'static str = "Emulation.setPageScaleFactor"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetPageScaleFactor
impl Clone for SetPageScaleFactor
Source§fn clone(&self) -> SetPageScaleFactor
fn clone(&self) -> SetPageScaleFactor
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 SetPageScaleFactor
impl CommandResult for SetPageScaleFactor
type Result = SetPageScaleFactorResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetPageScaleFactor
impl Debug for SetPageScaleFactor
Source§impl<'de> Deserialize<'de> for SetPageScaleFactor
impl<'de> Deserialize<'de> for SetPageScaleFactor
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<SetPageScaleFactor> for BrowserProtocolCommands
impl From<SetPageScaleFactor> for BrowserProtocolCommands
Source§fn from(v: SetPageScaleFactor) -> Self
fn from(v: SetPageScaleFactor) -> Self
Converts to this type from the input type.
Source§impl From<SetPageScaleFactor> for Command
impl From<SetPageScaleFactor> for Command
Source§fn from(v: SetPageScaleFactor) -> Self
fn from(v: SetPageScaleFactor) -> Self
Converts to this type from the input type.
Source§impl From<SetPageScaleFactor> for EmulationCommands
impl From<SetPageScaleFactor> for EmulationCommands
Source§fn from(v: SetPageScaleFactor) -> Self
fn from(v: SetPageScaleFactor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetPageScaleFactor
impl PartialEq for SetPageScaleFactor
Source§impl Serialize for SetPageScaleFactor
impl Serialize for SetPageScaleFactor
Source§impl TryFrom<BrowserProtocolCommands> for SetPageScaleFactor
impl TryFrom<BrowserProtocolCommands> for SetPageScaleFactor
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, <SetPageScaleFactor as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetPageScaleFactor as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetPageScaleFactor
impl TryFrom<Command> for SetPageScaleFactor
Source§impl TryFrom<EmulationCommands> for SetPageScaleFactor
impl TryFrom<EmulationCommands> for SetPageScaleFactor
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, <SetPageScaleFactor as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetPageScaleFactor as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetPageScaleFactor
Auto Trait Implementations§
impl Freeze for SetPageScaleFactor
impl RefUnwindSafe for SetPageScaleFactor
impl Send for SetPageScaleFactor
impl Sync for SetPageScaleFactor
impl Unpin for SetPageScaleFactor
impl UnsafeUnpin for SetPageScaleFactor
impl UnwindSafe for SetPageScaleFactor
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