pub struct StartScreencastParams {
pub format: Option<String>,
pub quality: Option<i64>,
pub maxWidth: Option<u64>,
pub maxHeight: Option<i64>,
pub everyNthFrame: Option<i64>,
}Expand description
Starts sending each frame using the ‘screencastFrame’ event.
Fields§
§format: Option<String>Image compression format.
quality: Option<i64>Compression quality from range [0..100].
maxWidth: Option<u64>Maximum screenshot width.
maxHeight: Option<i64>Maximum screenshot height.
everyNthFrame: 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
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