pub struct ScreenshotURL {
pub url: String,
pub width: Option<i32>,
pub height: Option<i32>,
pub full_page: Option<bool>,
pub delay_ms: Option<i32>,
}Expand description
A single URL to screenshot.
Fields§
§url: StringPage URL to capture.
width: Option<i32>Viewport width (default 1280).
height: Option<i32>Viewport height (default 800).
full_page: Option<bool>Capture full scrollable page.
delay_ms: Option<i32>Wait before capture in milliseconds (default 1000).
Trait Implementations§
Source§impl Clone for ScreenshotURL
impl Clone for ScreenshotURL
Source§fn clone(&self) -> ScreenshotURL
fn clone(&self) -> ScreenshotURL
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 ScreenshotURL
impl Debug for ScreenshotURL
Source§impl Default for ScreenshotURL
impl Default for ScreenshotURL
Source§fn default() -> ScreenshotURL
fn default() -> ScreenshotURL
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScreenshotURL
impl RefUnwindSafe for ScreenshotURL
impl Send for ScreenshotURL
impl Sync for ScreenshotURL
impl Unpin for ScreenshotURL
impl UnsafeUnpin for ScreenshotURL
impl UnwindSafe for ScreenshotURL
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