pub struct ProxyResponse {
pub status_code: u16,
pub headers: HashMap<String, String>,
pub body: Option<Vec<u8>>,
}
Expand description
Response from a proxy request
Fields§
§status_code: u16
HTTP status code
headers: HashMap<String, String>
Response headers
body: Option<Vec<u8>>
Response body
Auto Trait Implementations§
impl Freeze for ProxyResponse
impl RefUnwindSafe for ProxyResponse
impl Send for ProxyResponse
impl Sync for ProxyResponse
impl Unpin for ProxyResponse
impl UnwindSafe for ProxyResponse
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