pub struct ScrapeOpts {
pub format: ScrapeFormat,
pub only_main_content: bool,
pub engine: String,
pub max_body_bytes: usize,
}Expand description
Shared scrape options.
Fields§
§format: ScrapeFormatOutput format.
only_main_content: boolPrefer only main content heuristics.
engine: StringEngine: “http” or “browser”.
max_body_bytes: usizeMax body bytes for HTTP.
Trait Implementations§
Source§impl Clone for ScrapeOpts
impl Clone for ScrapeOpts
Source§fn clone(&self) -> ScrapeOpts
fn clone(&self) -> ScrapeOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrapeOpts
impl Debug for ScrapeOpts
Auto Trait Implementations§
impl Freeze for ScrapeOpts
impl RefUnwindSafe for ScrapeOpts
impl Send for ScrapeOpts
impl Sync for ScrapeOpts
impl Unpin for ScrapeOpts
impl UnsafeUnpin for ScrapeOpts
impl UnwindSafe for ScrapeOpts
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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