pub enum CaptureScreenshotFormat {
Jpeg,
Png,
Webp,
Unrecognized(String),
}Expand description
The values format accepts on captureScreenshot.
Variants§
Jpeg
jpeg
Png
png
Webp
webp
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 CaptureScreenshotFormat
impl Clone for CaptureScreenshotFormat
Source§impl Debug for CaptureScreenshotFormat
impl Debug for CaptureScreenshotFormat
Source§impl<'de> Deserialize<'de> for CaptureScreenshotFormat
impl<'de> Deserialize<'de> for CaptureScreenshotFormat
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 CaptureScreenshotFormat
Source§impl Hash for CaptureScreenshotFormat
impl Hash for CaptureScreenshotFormat
Source§impl PartialEq for CaptureScreenshotFormat
impl PartialEq for CaptureScreenshotFormat
Source§impl Serialize for CaptureScreenshotFormat
impl Serialize for CaptureScreenshotFormat
impl StructuralPartialEq for CaptureScreenshotFormat
Auto Trait Implementations§
impl Forget for CaptureScreenshotFormat
impl Freeze for CaptureScreenshotFormat
impl RefUnwindSafe for CaptureScreenshotFormat
impl Send for CaptureScreenshotFormat
impl Sync for CaptureScreenshotFormat
impl Unpin for CaptureScreenshotFormat
impl UnsafeUnpin for CaptureScreenshotFormat
impl UnwindSafe for CaptureScreenshotFormat
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