pub struct FetchStatusText(pub String);Expand description
The wire statusText, stashed in http::Response extensions so callers can recover the TS
Response.statusText value (the http crate has no dedicated status-text field).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for FetchStatusText
impl Clone for FetchStatusText
Source§fn clone(&self) -> FetchStatusText
fn clone(&self) -> FetchStatusText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FetchStatusText
impl RefUnwindSafe for FetchStatusText
impl Send for FetchStatusText
impl Sync for FetchStatusText
impl Unpin for FetchStatusText
impl UnsafeUnpin for FetchStatusText
impl UnwindSafe for FetchStatusText
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