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