pub struct ExtendedHttpTransaction {
pub url: String,
pub host: String,
pub referer: String,
pub user_agent: String,
pub user: String,
pub status: u32,
}Expand description
Extended HTTP Transaction - Format (0,2003)
HTTP transaction details
§XDR Definition (sFlow Discussion)
/* Extended Web transaction */
/* opaque = flow_data; enterprise = 0; format = 2003 */
struct extended_http_transaction {
string<> url; /* The HTTP request-line (see RFC 2616) */
string<> host; /* The host field from the HTTP header */
string<> referer; /* The referer field from the HTTP header */
string<> useragent; /* The user agent from the HTTP header */
string<> user; /* The authenticated user */
unigned int status; /* Status code returned with response */
}Fields§
§url: StringThe HTTP request-line (see RFC 2616)
host: StringThe host field from the HTTP header
referer: StringThe referer field from the HTTP header
user_agent: StringThe user agent from the HTTP header (spec: useragent)
user: StringThe authenticated user
status: u32Status code returned with response
Trait Implementations§
Source§impl Clone for ExtendedHttpTransaction
impl Clone for ExtendedHttpTransaction
Source§fn clone(&self) -> ExtendedHttpTransaction
fn clone(&self) -> ExtendedHttpTransaction
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtendedHttpTransaction
impl Debug for ExtendedHttpTransaction
Source§impl PartialEq for ExtendedHttpTransaction
impl PartialEq for ExtendedHttpTransaction
impl Eq for ExtendedHttpTransaction
impl StructuralPartialEq for ExtendedHttpTransaction
Auto Trait Implementations§
impl Freeze for ExtendedHttpTransaction
impl RefUnwindSafe for ExtendedHttpTransaction
impl Send for ExtendedHttpTransaction
impl Sync for ExtendedHttpTransaction
impl Unpin for ExtendedHttpTransaction
impl UnwindSafe for ExtendedHttpTransaction
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