pub struct CrawlStats {
pub total_urls: usize,
pub successful: usize,
pub failed: usize,
pub in_progress: usize,
pub average_response_time_ms: f64,
pub start_time: DateTime<Utc>,
pub elapsed_time: Duration,
}
Fields§
§total_urls: usize
§successful: usize
§failed: usize
§in_progress: usize
§average_response_time_ms: f64
§start_time: DateTime<Utc>
§elapsed_time: Duration
Trait Implementations§
Source§impl Clone for CrawlStats
impl Clone for CrawlStats
Source§fn clone(&self) -> CrawlStats
fn clone(&self) -> CrawlStats
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 CrawlStats
impl Debug for CrawlStats
Source§impl<'de> Deserialize<'de> for CrawlStats
impl<'de> Deserialize<'de> for CrawlStats
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
Auto Trait Implementations§
impl Freeze for CrawlStats
impl RefUnwindSafe for CrawlStats
impl Send for CrawlStats
impl Sync for CrawlStats
impl Unpin for CrawlStats
impl UnwindSafe for CrawlStats
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