pub struct CrawlerLog {
pub id: Option<i32>,
pub index: Option<i32>,
pub home_url: Option<String>,
pub begin_at: Option<String>,
pub end_at: Option<String>,
pub used_seconds: Option<i32>,
pub success_count: Option<i32>,
pub failed_count: Option<i32>,
}
Expand description
CrawlerLog : 爬虫日志
Fields§
§id: Option<i32>
§index: Option<i32>
§home_url: Option<String>
§begin_at: Option<String>
§end_at: Option<String>
§used_seconds: Option<i32>
§success_count: Option<i32>
§failed_count: Option<i32>
Implementations§
Source§impl CrawlerLog
impl CrawlerLog
Sourcepub fn new() -> CrawlerLog
pub fn new() -> CrawlerLog
爬虫日志
Trait Implementations§
Source§impl Clone for CrawlerLog
impl Clone for CrawlerLog
Source§fn clone(&self) -> CrawlerLog
fn clone(&self) -> CrawlerLog
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 CrawlerLog
impl Debug for CrawlerLog
Source§impl<'de> Deserialize<'de> for CrawlerLog
impl<'de> Deserialize<'de> for CrawlerLog
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
Source§impl PartialEq for CrawlerLog
impl PartialEq for CrawlerLog
Source§impl Serialize for CrawlerLog
impl Serialize for CrawlerLog
impl StructuralPartialEq for CrawlerLog
Auto Trait Implementations§
impl Freeze for CrawlerLog
impl RefUnwindSafe for CrawlerLog
impl Send for CrawlerLog
impl Sync for CrawlerLog
impl Unpin for CrawlerLog
impl UnwindSafe for CrawlerLog
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