pub struct Response {
pub timings: ResponseTimings,
pub certificate_information: Option<CertificateInformation>,
pub certificate: Option<X509>,
pub status: u16,
pub body: String,
}
Expand description
The response from a given request
Fields§
§timings: ResponseTimings
The timings of the response
certificate_information: Option<CertificateInformation>
The certificate information
certificate: Option<X509>
The raw certificate
status: u16
The status of the response
body: String
The body of the response
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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