pub struct AppHttpResponse {
pub remote_ip: [u8; 4],
pub local_port: u16,
pub status_code: u16,
pub reason: String,
pub headers: BTreeMap<String, String>,
pub body: String,
pub tls: Option<TlsSessionMeta>,
}Fields§
§remote_ip: [u8; 4]§local_port: u16§status_code: u16§reason: String§headers: BTreeMap<String, String>§body: String§tls: Option<TlsSessionMeta>Trait Implementations§
Source§impl Clone for AppHttpResponse
impl Clone for AppHttpResponse
Source§fn clone(&self) -> AppHttpResponse
fn clone(&self) -> AppHttpResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AppHttpResponse
impl RefUnwindSafe for AppHttpResponse
impl Send for AppHttpResponse
impl Sync for AppHttpResponse
impl Unpin for AppHttpResponse
impl UnsafeUnpin for AppHttpResponse
impl UnwindSafe for AppHttpResponse
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