Struct cdp::page::StartScreencastCommand
[−]
[src]
pub struct StartScreencastCommand { pub format: Option<StartScreencastCommandFormat>, pub quality: Option<i32>, pub max_width: Option<i32>, pub max_height: Option<i32>, pub every_nth_frame: Option<i32>, }
[Experimental] Starts sending each frame using the screencastFrame
event.
Command Page.startScreencast
Domain Module: cdp::page
Command Struct: cdp::page::StartScreencastCommand
Response Struct: cdp::page::StartScreencastResponse
Fields
format: Option<StartScreencastCommandFormat>
Image compression format.
quality: Option<i32>
Compression quality from range [0..100].
max_width: Option<i32>
Maximum screenshot width.
max_height: Option<i32>
Maximum screenshot height.
every_nth_frame: Option<i32>
Send every n-th frame.
Trait Implementations
impl Clone for StartScreencastCommand
[src]
fn clone(&self) -> StartScreencastCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for StartScreencastCommand
[src]
impl PartialEq for StartScreencastCommand
[src]
fn eq(&self, __arg_0: &StartScreencastCommand) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StartScreencastCommand) -> bool
[src]
This method tests for !=
.
impl CdpCommand for StartScreencastCommand
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Page.startScreencast"
impl SerializeCdpCommand for StartScreencastCommand
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de> DeserializeCdpCommand<'de> for StartScreencastCommand
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,