pub struct Response { /* private fields */ }
Expand description
Whether the request was redirected.
Whether the response was ok
.
Whether the body was used.
Gets the raw [Response
][web_sys::Response] object.
Gets and parses the json.
Gets the binary response
This works by obtaining the response as an ArrayBuffer
, creating a Uint8Array
from it
and then converting it to Vec<u8>
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.