Struct chromiumoxide::cdp::browser_protocol::page::CaptureScreenshotParams[][src]

pub struct CaptureScreenshotParams {
    pub format: Option<CaptureScreenshotFormat>,
    pub quality: Option<i64>,
    pub clip: Option<Viewport>,
    pub from_surface: Option<bool>,
}

Capture page screenshot. captureScreenshot

Fields

format: Option<CaptureScreenshotFormat>

Image compression format (defaults to png).

quality: Option<i64>

Compression quality from range [0..100] (jpeg only).

clip: Option<Viewport>

Capture the screenshot of a given region only.

from_surface: Option<bool>

Capture the screenshot from the surface, rather than the view. Defaults to true.

Implementations

impl CaptureScreenshotParams[src]

impl CaptureScreenshotParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for CaptureScreenshotParams[src]

impl Command for CaptureScreenshotParams[src]

type Response = CaptureScreenshotReturns

The type of the response this request triggers on the chromium server

impl Debug for CaptureScreenshotParams[src]

impl Default for CaptureScreenshotParams[src]

impl<'de> Deserialize<'de> for CaptureScreenshotParams[src]

impl Method for CaptureScreenshotParams[src]

impl MethodType for CaptureScreenshotParams[src]

impl PartialEq<CaptureScreenshotParams> for CaptureScreenshotParams[src]

impl Serialize for CaptureScreenshotParams[src]

impl StructuralPartialEq for CaptureScreenshotParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,