pub struct FetchResult {
pub url: String,
pub status_code: Option<u16>,
pub redirected: bool,
pub html: String,
pub title: Option<String>,
pub extracted: Option<Value>,
pub waited_ms: u64,
}Fields§
§url: String§status_code: Option<u16>§redirected: bool§html: String§title: Option<String>§extracted: Option<Value>§waited_ms: u64Milliseconds this request spent queued for a free pool tab before work began. ~0 means a tab was free immediately; a larger value means the pool was saturated and this request waited behind other in-flight work.
Trait Implementations§
Source§impl Debug for FetchResult
impl Debug for FetchResult
Source§impl JsonSchema for FetchResult
impl JsonSchema for FetchResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for FetchResult
impl RefUnwindSafe for FetchResult
impl Send for FetchResult
impl Sync for FetchResult
impl Unpin for FetchResult
impl UnsafeUnpin for FetchResult
impl UnwindSafe for FetchResult
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