pub enum StartScreencastFormat {
Jpeg,
Png,
Unrecognized(String),
}Expand description
The values format accepts on startScreencast.
Variants§
Jpeg
jpeg
Png
png
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for StartScreencastFormat
impl Clone for StartScreencastFormat
Source§impl Debug for StartScreencastFormat
impl Debug for StartScreencastFormat
Source§impl<'de> Deserialize<'de> for StartScreencastFormat
impl<'de> Deserialize<'de> for StartScreencastFormat
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
impl Eq for StartScreencastFormat
Source§impl Hash for StartScreencastFormat
impl Hash for StartScreencastFormat
Source§impl PartialEq for StartScreencastFormat
impl PartialEq for StartScreencastFormat
Source§impl Serialize for StartScreencastFormat
impl Serialize for StartScreencastFormat
impl StructuralPartialEq for StartScreencastFormat
Auto Trait Implementations§
impl Forget for StartScreencastFormat
impl Freeze for StartScreencastFormat
impl RefUnwindSafe for StartScreencastFormat
impl Send for StartScreencastFormat
impl Sync for StartScreencastFormat
impl Unpin for StartScreencastFormat
impl UnsafeUnpin for StartScreencastFormat
impl UnwindSafe for StartScreencastFormat
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