pub struct TypedLogLine {Show 34 fields
pub date: Date,
pub time: Time,
pub datetime: OffsetDateTime,
pub x_edge_location: String,
pub sc_bytes: u64,
pub c_ip: IpAddr,
pub cs_method: String,
pub cs_host: String,
pub cs_uri_stem: String,
pub sc_status: u16,
pub cs_referer: Option<String>,
pub cs_user_agent: String,
pub cs_uri_query: Option<String>,
pub cs_cookie: Option<String>,
pub x_edge_result_type: EdgeResultType,
pub x_edge_request_id: String,
pub x_host_header: String,
pub cs_protocol: CsProtocol,
pub cs_bytes: u64,
pub time_taken: Duration,
pub x_forwarded_for: Option<ForwardedForAddrs>,
pub ssl_protocol: Option<SslProtocol>,
pub ssl_cipher: Option<String>,
pub x_edge_response_result_type: EdgeResultType,
pub cs_protocol_version: CsProtocolVersion,
pub fle_status: Option<String>,
pub fle_encrypted_fields: Option<u64>,
pub c_port: u16,
pub time_to_first_byte: Duration,
pub x_edge_detailed_result_type: DetailedEdgeResultType,
pub sc_content_type: String,
pub sc_content_len: u64,
pub sc_range_start: Option<i64>,
pub sc_range_end: Option<i64>,
}👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
Available on crate feature
time only.Expand description
A simple log line representation owning its field data
Only primitive types from Rust’s core/std library are used for the fields. Therefore types like Date and Time are not present.
Fields§
§date: Date👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§time: Time👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§datetime: OffsetDateTime👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_location: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_bytes: u64👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§c_ip: IpAddr👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_method: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_host: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_uri_stem: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_status: u16👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_referer: Option<String>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_user_agent: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_uri_query: Option<String>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_result_type: EdgeResultType👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_request_id: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_host_header: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_protocol: CsProtocol👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_bytes: u64👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§time_taken: Duration👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_forwarded_for: Option<ForwardedForAddrs>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§ssl_protocol: Option<SslProtocol>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§ssl_cipher: Option<String>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_response_result_type: EdgeResultType👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_protocol_version: CsProtocolVersion👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§fle_status: Option<String>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§fle_encrypted_fields: Option<u64>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§c_port: u16👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§time_to_first_byte: Duration👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_detailed_result_type: DetailedEdgeResultType👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_content_type: String👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_content_len: u64👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_range_start: Option<i64>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_range_end: Option<i64>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
Trait Implementations§
impl StructuralPartialEq for LogLine
Auto Trait Implementations§
impl Freeze for LogLine
impl RefUnwindSafe for LogLine
impl Send for LogLine
impl Sync for LogLine
impl Unpin for LogLine
impl UnwindSafe for LogLine
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