pub struct ProxyEvent {
pub timestamp: SystemTime,
pub component: String,
pub protocol: Protocol,
pub command: String,
pub full_command: String,
pub response: String,
pub response_detail: String,
pub latency: Duration,
pub process: Option<String>,
pub src: Option<String>,
pub dest: Option<String>,
}Expand description
A single request→response event (merged)
Fields§
§timestamp: SystemTime§component: String§protocol: Protocol§command: StringThe command/SQL sent (request summary, truncated for display)
full_command: StringFull command extracted from raw request (no truncation)
response: StringResponse summary (e.g. “OK”, “ResultSet (19 rows, …)”)
response_detail: StringFormatted response detail for the detail panel
latency: DurationRequest→response latency
process: Option<String>Process that initiated the connection (PID + name)
src: Option<String>Client address (source)
dest: Option<String>Remote address (destination)
Trait Implementations§
Source§impl Clone for ProxyEvent
impl Clone for ProxyEvent
Source§fn clone(&self) -> ProxyEvent
fn clone(&self) -> ProxyEvent
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 ProxyEvent
impl RefUnwindSafe for ProxyEvent
impl Send for ProxyEvent
impl Sync for ProxyEvent
impl Unpin for ProxyEvent
impl UnsafeUnpin for ProxyEvent
impl UnwindSafe for ProxyEvent
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