pub struct Response {
pub status_code: Option<u16>,
pub data: Option<Vec<u8>>,
pub error: Option<String>,
pub headers: Option<HashMap<String, String>>,
}
Fields§
§status_code: Option<u16>
§data: Option<Vec<u8>>
§error: Option<String>
§headers: Option<HashMap<String, String>>
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