pub struct CrawlReport {
pub pages_crawled: u64,
pub items_scraped: u64,
pub errors: u64,
pub duration: Duration,
pub bytes_downloaded: u64,
pub interrupted: bool,
pub scheduled: u64,
pub deduped: u64,
pub retries: u64,
pub robots_blocked: u64,
pub domains: BTreeMap<String, DomainStats>,
pub stop_reason: Option<StopReason>,
}Expand description
Final crawl report. This is a stable, cloneable snapshot of CrawlStats.
Fields§
§pages_crawled: u64§items_scraped: u64§errors: u64§duration: Duration§bytes_downloaded: u64§interrupted: bool§scheduled: u64§deduped: u64§retries: u64§robots_blocked: u64§domains: BTreeMap<String, DomainStats>§stop_reason: Option<StopReason>Trait Implementations§
Source§impl Clone for CrawlReport
impl Clone for CrawlReport
Source§fn clone(&self) -> CrawlReport
fn clone(&self) -> CrawlReport
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 CrawlReport
impl Debug for CrawlReport
Source§impl From<CrawlStats> for CrawlReport
impl From<CrawlStats> for CrawlReport
Source§fn from(stats: CrawlStats) -> Self
fn from(stats: CrawlStats) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CrawlReport
impl RefUnwindSafe for CrawlReport
impl Send for CrawlReport
impl Sync for CrawlReport
impl Unpin for CrawlReport
impl UnsafeUnpin for CrawlReport
impl UnwindSafe for CrawlReport
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