Struct chromiumoxide_cdp::cdp::browser_protocol::page::StartScreencastParams [−][src]
pub struct StartScreencastParams { pub format: Option<StartScreencastFormat>, pub quality: Option<i64>, pub max_width: Option<i64>, pub max_height: Option<i64>, pub every_nth_frame: Option<i64>, }
Expand description
Starts sending each frame using the screencastFrame
event.
startScreencast
Fields
format: Option<StartScreencastFormat>
Image compression format.
quality: Option<i64>
Compression quality from range [0..100].
max_width: Option<i64>
Maximum screenshot width.
max_height: Option<i64>
Maximum screenshot height.
every_nth_frame: Option<i64>
Send every n-th frame.
Implementations
Trait Implementations
type Response = StartScreencastReturns
type Response = StartScreencastReturns
The type of the response this request triggers on the chromium server
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StartScreencastParams
impl Send for StartScreencastParams
impl Sync for StartScreencastParams
impl Unpin for StartScreencastParams
impl UnwindSafe for StartScreencastParams
Blanket Implementations
Mutably borrows from an owned value. Read more