Struct deltachat::net::HttpResponse
source · pub struct HttpResponse {
pub blob: Vec<u8>,
pub mimetype: Option<String>,
pub encoding: Option<String>,
}
Expand description
HTTP(S) GET response.
Fields§
§blob: Vec<u8>
Response body.
mimetype: Option<String>
MIME type extracted from the Content-Type
header, if any.
encoding: Option<String>
Encoding extracted from the Content-Type
header, if any.
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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