pub struct WebServerEvent {
Show 18 fields pub source_ip: SiemIp, pub destination_ip: Option<SiemIp>, pub destination_port: u16, pub in_bytes: u32, pub out_bytes: u32, pub http_code: u32, pub duration: f32, pub http_method: HttpMethod, pub user_agent: Cow<'static, str>, pub url_full: Cow<'static, str>, pub url_domain: Cow<'static, str>, pub url_path: Cow<'static, str>, pub url_query: Cow<'static, str>, pub url_extension: Cow<'static, str>, pub protocol: WebProtocol, pub user_name: Cow<'static, str>, pub mime_type: Cow<'static, str>, pub outcome: WebServerOutcome,
}
Expand description

A typical combined Log format has a source_ip, a user_id, a date, the http method, the path requested, the user agent and the size of the resource returned

Fields

source_ip: SiemIpdestination_ip: Option<SiemIp>destination_port: u16in_bytes: u32out_bytes: u32http_code: u32duration: f32http_method: HttpMethoduser_agent: Cow<'static, str>url_full: Cow<'static, str>url_domain: Cow<'static, str>url_path: Cow<'static, str>url_query: Cow<'static, str>url_extension: Cow<'static, str>protocol: WebProtocoluser_name: Cow<'static, str>mime_type: Cow<'static, str>outcome: WebServerOutcome

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.