Struct cdp::page::PrintToPdfResponse
[−]
[src]
pub struct PrintToPdfResponse<'a> { pub data: Cow<'a, str>, }
[Experimental] Print page as PDF.
Command Page.printToPDF
Domain Module: cdp::page
Command Struct: cdp::page::PrintToPdfCommand
Response Struct: cdp::page::PrintToPdfResponse
Fields
data: Cow<'a, str>
Base64-encoded pdf data.
Trait Implementations
impl<'a> Clone for PrintToPdfResponse<'a>
[src]
fn clone(&self) -> PrintToPdfResponse<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for PrintToPdfResponse<'a>
[src]
impl<'a> PartialEq for PrintToPdfResponse<'a>
[src]
fn eq(&self, __arg_0: &PrintToPdfResponse<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PrintToPdfResponse<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for PrintToPdfResponse<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Page.printToPDF"