pub enum ScreenshotOption {
LoadImages,
DarkMode,
BlockBanners,
PrintMediaFormat,
}Expand description
Screenshot legacy option flags (distinct from ScreenshotFlag which
applies to the inline screenshots on a scrape).
Variants§
LoadImages
Load images.
DarkMode
Render in dark mode.
BlockBanners
Block cookie banners.
PrintMediaFormat
Print-media CSS.
Implementations§
Trait Implementations§
Source§impl Clone for ScreenshotOption
impl Clone for ScreenshotOption
Source§fn clone(&self) -> ScreenshotOption
fn clone(&self) -> ScreenshotOption
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 ScreenshotOption
impl Debug for ScreenshotOption
Source§impl<'de> Deserialize<'de> for ScreenshotOption
impl<'de> Deserialize<'de> for ScreenshotOption
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 ScreenshotOption
impl PartialEq for ScreenshotOption
Source§impl Serialize for ScreenshotOption
impl Serialize for ScreenshotOption
impl Copy for ScreenshotOption
impl Eq for ScreenshotOption
impl StructuralPartialEq for ScreenshotOption
Auto Trait Implementations§
impl Freeze for ScreenshotOption
impl RefUnwindSafe for ScreenshotOption
impl Send for ScreenshotOption
impl Sync for ScreenshotOption
impl Unpin for ScreenshotOption
impl UnsafeUnpin for ScreenshotOption
impl UnwindSafe for ScreenshotOption
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