pub struct CrawlerState {
pub urls_visited: u64,
pub urls_extracted: u64,
pub urls_failed: u64,
pub urls_skipped: u64,
pub urls_to_crawl: u64,
pub api_credit_used: u64,
pub duration: u64,
pub start_time: Option<i64>,
pub stop_time: Option<i64>,
pub stop_reason: Option<String>,
}Expand description
Inner state block of CrawlerStatus.
Fields§
§urls_visited: u64URLs visited.
urls_extracted: u64URLs extracted.
urls_failed: u64URLs failed.
urls_skipped: u64URLs skipped.
urls_to_crawl: u64URLs queued.
api_credit_used: u64API credit used.
duration: u64Duration (seconds).
start_time: Option<i64>Start time (Unix seconds, null while PENDING).
stop_time: Option<i64>Stop time (Unix seconds, null until terminal).
stop_reason: Option<String>Documented stop reason (null while running).
Trait Implementations§
Source§impl Clone for CrawlerState
impl Clone for CrawlerState
Source§fn clone(&self) -> CrawlerState
fn clone(&self) -> CrawlerState
Returns a copy 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 CrawlerState
impl Debug for CrawlerState
Source§impl Default for CrawlerState
impl Default for CrawlerState
Source§fn default() -> CrawlerState
fn default() -> CrawlerState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CrawlerState
impl<'de> Deserialize<'de> for CrawlerState
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 CrawlerState
impl RefUnwindSafe for CrawlerState
impl Send for CrawlerState
impl Sync for CrawlerState
impl Unpin for CrawlerState
impl UnwindSafe for CrawlerState
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