pub struct SessionEntry {Show 13 fields
pub id: Ulid,
pub url: Url,
pub client_addr: Option<NetAddress>,
pub remote_addr: Option<NetAddress>,
pub http_version: String,
pub transaction_type: TransactionType,
pub request: Request,
pub response: Option<Response>,
pub is_websocket: bool,
pub tls: TlsSettings,
pub http2: Option<Http2StreamRef>,
pub timings: Timings,
pub process: Option<ProcessInfo>,
}Expand description
A single HTTP transaction captured by the proxy.
Contains the full request/response pair, timing information, TLS details and optional HTTP/2 stream reference.
Fields§
§id: Ulid§url: Url§client_addr: Option<NetAddress>§remote_addr: Option<NetAddress>§http_version: String§transaction_type: TransactionType§request: Request§response: Option<Response>§is_websocket: bool§tls: TlsSettings§http2: Option<Http2StreamRef>§timings: Timings§process: Option<ProcessInfo>Trait Implementations§
Source§impl Clone for SessionEntry
impl Clone for SessionEntry
Source§fn clone(&self) -> SessionEntry
fn clone(&self) -> SessionEntry
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 moreSource§impl Debug for SessionEntry
impl Debug for SessionEntry
Source§impl<'de> Deserialize<'de> for SessionEntry
impl<'de> Deserialize<'de> for SessionEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionEntry
impl RefUnwindSafe for SessionEntry
impl Send for SessionEntry
impl Sync for SessionEntry
impl Unpin for SessionEntry
impl UnsafeUnpin for SessionEntry
impl UnwindSafe for SessionEntry
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