pub struct ScrapeResult {
pub document: Document,
pub is_duplicate: bool,
pub js_rendered: bool,
pub canonical_url: Option<Url>,
pub discovered_links: Vec<Url>,
}Expand description
Scrape result with additional metadata
Fields§
§document: DocumentExtracted document
is_duplicate: boolWhether content was a duplicate
js_rendered: boolWhether JS rendering was used
canonical_url: Option<Url>Canonical URL (if different from source)
discovered_links: Vec<Url>Links discovered (for crawling)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScrapeResult
impl RefUnwindSafe for ScrapeResult
impl Send for ScrapeResult
impl Sync for ScrapeResult
impl Unpin for ScrapeResult
impl UnwindSafe for ScrapeResult
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