Struct Checkpoint
pub struct Checkpoint {
pub scheduler: SchedulerCheckpoint,
pub pipelines: HashMap<String, Value>,
pub cookie_store: CookieStore,
}Expand description
Checkpoint types for save/resume workflows. A complete checkpoint of the crawler’s state.
Fields§
§scheduler: SchedulerCheckpointThe state of the scheduler.
pipelines: HashMap<String, Value>A map of pipeline states, keyed by pipeline name.
The state of the cookie store.
Trait Implementations§
§impl Debug for Checkpoint
impl Debug for Checkpoint
§impl Default for Checkpoint
impl Default for Checkpoint
§fn default() -> Checkpoint
fn default() -> Checkpoint
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for Checkpoint
impl<'de> Deserialize<'de> for Checkpoint
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Checkpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Checkpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Checkpoint
impl Serialize for Checkpoint
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Checkpoint
impl !RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl !UnwindSafe for Checkpoint
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