Struct sn0int_std::web::Response
source · pub struct Response {
pub status: u16,
pub headers: HashMap<String, String, RandomState>,
pub cookies: Vec<String, Global>,
pub ipaddr: Option<IpAddr>,
pub body: Bytes,
}
Expand description
Represents an HTTP response.
Fields§
§status: u16
§headers: HashMap<String, String, RandomState>
§ipaddr: Option<IpAddr>
§body: Bytes
Trait Implementations§
Auto Trait Implementations§
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> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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