pub struct CrawlerView {
pub state: &'static str,
pub label: String,
pub rows: Vec<(String, String)>,
pub pct: Option<u8>,
pub poll_url: Option<String>,
}Expand description
The crawler status card in the sidebar.
Fields§
§state: &'static stridle, queued, running, failed
label: String§rows: Vec<(String, String)>§pct: Option<u8>Progress through the page budget while running, 0–100.
poll_url: Option<String>Set while a crawl is queued or running: the card polls this URL every 2 s.
Auto Trait Implementations§
impl Freeze for CrawlerView
impl RefUnwindSafe for CrawlerView
impl Send for CrawlerView
impl Sync for CrawlerView
impl Unpin for CrawlerView
impl UnsafeUnpin for CrawlerView
impl UnwindSafe for CrawlerView
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more