pub enum CronType {
Crawl,
Scrape,
}
Expand description
The type of cron job to run
Variants§
Crawl
Crawl collecting links, page data, and etc.
Scrape
Scrape collecting links, page data as bytes to store, and etc.
Trait Implementations§
source§impl PartialEq for CronType
impl PartialEq for CronType
impl Eq for CronType
impl StructuralPartialEq for CronType
Auto Trait Implementations§
impl Freeze for CronType
impl RefUnwindSafe for CronType
impl Send for CronType
impl Sync for CronType
impl Unpin for CronType
impl UnwindSafe for CronType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more