Struct spider::features::chrome_common::ScreenshotParams
source · pub struct ScreenshotParams {
pub cdp_params: CaptureScreenshotParams,
pub full_page: Option<bool>,
pub omit_background: Option<bool>,
}
Expand description
The screenshot params for the page.
Fields§
§cdp_params: CaptureScreenshotParams
Chrome DevTools Protocol screenshot options.
full_page: Option<bool>
Take full page screenshot.
omit_background: Option<bool>
Make the background transparent (png only).
Implementations§
Trait Implementations§
source§impl Clone for ScreenshotParams
impl Clone for ScreenshotParams
source§fn clone(&self) -> ScreenshotParams
fn clone(&self) -> ScreenshotParams
Returns a copy 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 ScreenshotParams
impl Debug for ScreenshotParams
source§impl Default for ScreenshotParams
impl Default for ScreenshotParams
source§fn default() -> ScreenshotParams
fn default() -> ScreenshotParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScreenshotParams
impl RefUnwindSafe for ScreenshotParams
impl Send for ScreenshotParams
impl Sync for ScreenshotParams
impl Unpin for ScreenshotParams
impl UnwindSafe for ScreenshotParams
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