pub struct AcquisitionResult {
pub success: bool,
pub strategy_used: Option<StrategyUsed>,
pub attempted: Vec<StrategyUsed>,
pub final_url: Option<String>,
pub status_code: Option<u16>,
pub html_excerpt: Option<String>,
pub extracted: Option<Value>,
pub failures: Vec<StageFailure>,
pub timed_out: bool,
}Expand description
Terminal acquisition result.
Fields§
§success: booltrue when any stage satisfied success criteria.
strategy_used: Option<StrategyUsed>Stage that produced the terminal success, if any.
attempted: Vec<StrategyUsed>Ordered stage attempts.
final_url: Option<String>Final URL observed from the successful stage.
status_code: Option<u16>HTTP status code observed from the successful stage.
html_excerpt: Option<String>Best-effort HTML excerpt from the successful stage.
extracted: Option<Value>Optional extraction payload.
failures: Vec<StageFailure>Failure bundle collected across stages.
timed_out: booltrue when the wall-clock timeout fired before completion.
Trait Implementations§
Source§impl Clone for AcquisitionResult
impl Clone for AcquisitionResult
Source§fn clone(&self) -> AcquisitionResult
fn clone(&self) -> AcquisitionResult
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 AcquisitionResult
impl Debug for AcquisitionResult
Source§impl<'de> Deserialize<'de> for AcquisitionResult
impl<'de> Deserialize<'de> for AcquisitionResult
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 AcquisitionResult
impl RefUnwindSafe for AcquisitionResult
impl Send for AcquisitionResult
impl Sync for AcquisitionResult
impl Unpin for AcquisitionResult
impl UnsafeUnpin for AcquisitionResult
impl UnwindSafe for AcquisitionResult
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