Struct chromiumoxide::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
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<StartScreencastParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<StartScreencastParams, <__D as Deserializer<'de>>::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 !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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