pub struct SmartBrowseRun {
pub id: String,
pub recipe_id: String,
pub run_status: RunStatus,
pub pages_extracted: Option<i64>,
pub items_extracted: Option<i64>,
pub credits_used: Option<i64>,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub error: Option<String>,
pub result: Option<Value>,
pub created_at: Option<String>,
}Expand description
data returned when polling a SmartBrowse run.
Fields§
§id: StringOpaque run id.
recipe_id: StringThe recipe that was run.
run_status: RunStatusRun lifecycle state.
pages_extracted: Option<i64>Pages extracted so far.
items_extracted: Option<i64>Items extracted so far.
credits_used: Option<i64>Credits accrued by the run (distinct from the free polling envelope).
started_at: Option<String>Start timestamp (RFC3339); absent while pending.
completed_at: Option<String>Completion timestamp (RFC3339); absent until terminal.
error: Option<String>Failure detail; set only on failed/cancelled runs.
result: Option<Value>Full result payload; present once completed. Free-form JSON.
created_at: Option<String>Creation timestamp (RFC3339).
Trait Implementations§
Source§impl Clone for SmartBrowseRun
impl Clone for SmartBrowseRun
Source§fn clone(&self) -> SmartBrowseRun
fn clone(&self) -> SmartBrowseRun
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SmartBrowseRun
impl Debug for SmartBrowseRun
Source§impl<'de> Deserialize<'de> for SmartBrowseRun
impl<'de> Deserialize<'de> for SmartBrowseRun
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 SmartBrowseRun
impl RefUnwindSafe for SmartBrowseRun
impl Send for SmartBrowseRun
impl Sync for SmartBrowseRun
impl Unpin for SmartBrowseRun
impl UnsafeUnpin for SmartBrowseRun
impl UnwindSafe for SmartBrowseRun
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