pub struct SetFontSizes {
pub method: SetFontSizesMethod,
pub params: SetFontSizesParams,
}Expand description
Set default font sizes. setFontSizes
Fields§
§method: SetFontSizesMethod§params: SetFontSizesParamsImplementations§
Source§impl SetFontSizes
impl SetFontSizes
pub fn builder() -> SetFontSizesBuilder
Source§impl SetFontSizes
impl SetFontSizes
pub const IDENTIFIER: &'static str = "Page.setFontSizes"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetFontSizes
impl Clone for SetFontSizes
Source§fn clone(&self) -> SetFontSizes
fn clone(&self) -> SetFontSizes
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 SetFontSizes
impl CommandResult for SetFontSizes
type Result = SetFontSizesResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetFontSizes
impl Debug for SetFontSizes
Source§impl<'de> Deserialize<'de> for SetFontSizes
impl<'de> Deserialize<'de> for SetFontSizes
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<SetFontSizes> for BrowserProtocolCommands
impl From<SetFontSizes> for BrowserProtocolCommands
Source§fn from(v: SetFontSizes) -> Self
fn from(v: SetFontSizes) -> Self
Converts to this type from the input type.
Source§impl From<SetFontSizes> for Command
impl From<SetFontSizes> for Command
Source§fn from(v: SetFontSizes) -> Self
fn from(v: SetFontSizes) -> Self
Converts to this type from the input type.
Source§impl From<SetFontSizes> for PageCommands
impl From<SetFontSizes> for PageCommands
Source§fn from(v: SetFontSizes) -> Self
fn from(v: SetFontSizes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetFontSizes
impl PartialEq for SetFontSizes
Source§impl Serialize for SetFontSizes
impl Serialize for SetFontSizes
Source§impl TryFrom<BrowserProtocolCommands> for SetFontSizes
impl TryFrom<BrowserProtocolCommands> for SetFontSizes
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, <SetFontSizes as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetFontSizes as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetFontSizes
impl TryFrom<Command> for SetFontSizes
Source§impl TryFrom<PageCommands> for SetFontSizes
impl TryFrom<PageCommands> for SetFontSizes
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <SetFontSizes as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <SetFontSizes as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetFontSizes
Auto Trait Implementations§
impl Freeze for SetFontSizes
impl RefUnwindSafe for SetFontSizes
impl Send for SetFontSizes
impl Sync for SetFontSizes
impl Unpin for SetFontSizes
impl UnsafeUnpin for SetFontSizes
impl UnwindSafe for SetFontSizes
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