pub struct PdfPayload {
pub url: Option<String>,
pub html: Option<String>,
pub viewport: Option<Viewport>,
pub pdf_options: Option<PdfOptions>,
pub wait_for_selector: Option<WaitForSelector>,
pub goto_options: Option<GotoOptions>,
pub user_agent: Option<String>,
}Fields§
§url: Option<String>§html: Option<String>§viewport: Option<Viewport>§pdf_options: Option<PdfOptions>§wait_for_selector: Option<WaitForSelector>§goto_options: Option<GotoOptions>§user_agent: Option<String>Trait Implementations§
Source§impl Clone for PdfPayload
impl Clone for PdfPayload
Source§fn clone(&self) -> PdfPayload
fn clone(&self) -> PdfPayload
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 Debug for PdfPayload
impl Debug for PdfPayload
Source§impl Default for PdfPayload
impl Default for PdfPayload
Source§fn default() -> PdfPayload
fn default() -> PdfPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PdfPayload
impl RefUnwindSafe for PdfPayload
impl Send for PdfPayload
impl Sync for PdfPayload
impl Unpin for PdfPayload
impl UnsafeUnpin for PdfPayload
impl UnwindSafe for PdfPayload
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