pub struct PrintToPdf {
pub method: PrintToPdfMethod,
pub params: PrintToPdfParams,
}Expand description
Print page as PDF. printToPDF
Fields§
§method: PrintToPdfMethod§params: PrintToPdfParamsImplementations§
Source§impl PrintToPdf
impl PrintToPdf
pub fn builder() -> PrintToPdfBuilder
Source§impl PrintToPdf
impl PrintToPdf
pub const IDENTIFIER: &'static str = "Page.printToPDF"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for PrintToPdf
impl Clone for PrintToPdf
Source§fn clone(&self) -> PrintToPdf
fn clone(&self) -> PrintToPdf
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 PrintToPdf
impl CommandResult for PrintToPdf
type Result = PrintToPdfResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for PrintToPdf
impl Debug for PrintToPdf
Source§impl<'de> Deserialize<'de> for PrintToPdf
impl<'de> Deserialize<'de> for PrintToPdf
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<PrintToPdf> for BrowserProtocolCommands
impl From<PrintToPdf> for BrowserProtocolCommands
Source§fn from(v: PrintToPdf) -> Self
fn from(v: PrintToPdf) -> Self
Converts to this type from the input type.
Source§impl From<PrintToPdf> for Command
impl From<PrintToPdf> for Command
Source§fn from(v: PrintToPdf) -> Self
fn from(v: PrintToPdf) -> Self
Converts to this type from the input type.
Source§impl From<PrintToPdf> for PageCommands
impl From<PrintToPdf> for PageCommands
Source§fn from(v: PrintToPdf) -> Self
fn from(v: PrintToPdf) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrintToPdf
impl PartialEq for PrintToPdf
Source§impl Serialize for PrintToPdf
impl Serialize for PrintToPdf
Source§impl TryFrom<BrowserProtocolCommands> for PrintToPdf
impl TryFrom<BrowserProtocolCommands> for PrintToPdf
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, <PrintToPdf as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <PrintToPdf as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for PrintToPdf
impl TryFrom<Command> for PrintToPdf
Source§impl TryFrom<PageCommands> for PrintToPdf
impl TryFrom<PageCommands> for PrintToPdf
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, <PrintToPdf as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <PrintToPdf as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for PrintToPdf
Auto Trait Implementations§
impl Freeze for PrintToPdf
impl RefUnwindSafe for PrintToPdf
impl Send for PrintToPdf
impl Sync for PrintToPdf
impl Unpin for PrintToPdf
impl UnsafeUnpin for PrintToPdf
impl UnwindSafe for PrintToPdf
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