pub struct FetchResult {
pub html: String,
pub profile_used: FetchProfile,
pub duration_ms: u64,
pub attempts: usize,
}Expand description
Fetch Result
Contains the fetched HTML and metadata about the fetch operation:
- Which profile succeeded
- How long the operation took
- How many attempts before success
Fields§
§html: StringThe fetched HTML content
profile_used: FetchProfileThe profile that succeeded
duration_ms: u64Total duration in milliseconds
attempts: usizeNumber of attempts before success
Trait Implementations§
Source§impl Clone for FetchResult
impl Clone for FetchResult
Source§impl Debug for FetchResult
impl Debug for FetchResult
Source§impl<'de> Deserialize<'de> for FetchResult
impl<'de> Deserialize<'de> for FetchResult
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 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