Struct ilmen_http::http::Response
source · pub struct Response {
pub code: i32,
pub headers: Vec<String>,
pub body: Option<String>,
}
Fields§
§code: i32
§headers: Vec<String>
§body: Option<String>
Trait Implementations§
source§impl From<Response> for HTTPResponse
impl From<Response> for HTTPResponse
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