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.
Trait Implementations§
Source§impl Clone for StartScreencastParams
impl Clone for StartScreencastParams
Source§fn clone(&self) -> StartScreencastParams
fn clone(&self) -> StartScreencastParams
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 StartScreencastParams
impl Debug for StartScreencastParams
Source§impl Default for StartScreencastParams
impl Default for StartScreencastParams
Source§fn default() -> StartScreencastParams
fn default() -> StartScreencastParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartScreencastParams
impl<'de> Deserialize<'de> for StartScreencastParams
Source§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
Source§impl PartialEq for StartScreencastParams
impl PartialEq for StartScreencastParams
Source§impl Serialize for StartScreencastParams
impl Serialize for StartScreencastParams
impl StructuralPartialEq for StartScreencastParams
Auto Trait Implementations§
impl Freeze for StartScreencastParams
impl RefUnwindSafe for StartScreencastParams
impl Send for StartScreencastParams
impl Sync for StartScreencastParams
impl Unpin for StartScreencastParams
impl UnsafeUnpin for StartScreencastParams
impl UnwindSafe for StartScreencastParams
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