pub struct FetchedPage {
pub body: String,
pub final_url: String,
pub content_type: Option<String>,
}Expand description
Outcome of an HTTP fetch: the body, the URL we actually landed on after
following redirects, and the response’s Content-Type (if any).
Fields§
§body: String§final_url: String§content_type: Option<String>Auto Trait Implementations§
impl Freeze for FetchedPage
impl RefUnwindSafe for FetchedPage
impl Send for FetchedPage
impl Sync for FetchedPage
impl Unpin for FetchedPage
impl UnsafeUnpin for FetchedPage
impl UnwindSafe for FetchedPage
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