Struct oauth2::HttpResponse [−][src]
pub struct HttpResponse { pub status_code: StatusCode, pub headers: HeaderMap, pub body: Vec<u8>, }
Expand description
An HTTP response.
Fields
status_code: StatusCode
HTTP status code returned by the server.
headers: HeaderMap
HTTP response headers returned by the server.
body: Vec<u8>
HTTP response body returned by the server.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpResponse
impl Send for HttpResponse
impl Sync for HttpResponse
impl Unpin for HttpResponse
impl UnwindSafe for HttpResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V