pub struct FetchHttpResponse { /* private fields */ }Expand description
One complete raw HTTP fetch after bounded manual redirects.
Implementations§
Source§impl FetchHttpResponse
impl FetchHttpResponse
Sourcepub fn requested_url(&self) -> &str
pub fn requested_url(&self) -> &str
Returns the canonical originally requested URL.
Sourcepub const fn headers(&self) -> &FetchHttpHeaders
pub const fn headers(&self) -> &FetchHttpHeaders
Returns the bounded response headers.
Sourcepub fn redirects(&self) -> &[FetchRedirect]
pub fn redirects(&self) -> &[FetchRedirect]
Returns normalized redirect metadata.
Trait Implementations§
Source§impl Clone for FetchHttpResponse
impl Clone for FetchHttpResponse
Source§impl Debug for FetchHttpResponse
impl Debug for FetchHttpResponse
impl Eq for FetchHttpResponse
Source§impl PartialEq for FetchHttpResponse
impl PartialEq for FetchHttpResponse
impl StructuralPartialEq for FetchHttpResponse
Auto Trait Implementations§
impl Freeze for FetchHttpResponse
impl RefUnwindSafe for FetchHttpResponse
impl Send for FetchHttpResponse
impl Sync for FetchHttpResponse
impl Unpin for FetchHttpResponse
impl UnsafeUnpin for FetchHttpResponse
impl UnwindSafe for FetchHttpResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.