pub struct Logline<'a, V> {Show 33 fields
pub date: &'a str,
pub time: &'a str,
pub x_edge_location: &'a str,
pub sc_bytes: u64,
pub c_ip: IpAddr,
pub cs_method: &'a str,
pub cs_host: &'a str,
pub cs_uri_stem: &'a str,
pub sc_status: u16,
pub cs_referer: Option<&'a str>,
pub cs_user_agent: &'a str,
pub cs_uri_query: Option<&'a str>,
pub cs_cookie: Option<&'a str>,
pub x_edge_result_type: EdgeResultType,
pub x_edge_request_id: &'a str,
pub x_host_header: &'a str,
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<&'a str>,
pub x_edge_response_result_type: EdgeResultType,
pub cs_protocol_version: CsProtocolVersion,
pub fle_status: Option<&'a str>,
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: Option<&'a str>,
pub sc_content_len: Option<u64>,
pub sc_range_start: Option<i64>,
pub sc_range_end: Option<i64>,
/* private fields */
}Expand description
The generic, raw log line type
Do not use it directly, prefer ValidatedLogline or UnvalidatedLogline instead.
Fields§
§date: &'a str§time: &'a str§x_edge_location: &'a str§sc_bytes: u64§c_ip: IpAddr§cs_method: &'a str§cs_host: &'a str§cs_uri_stem: &'a str§sc_status: u16§cs_referer: Option<&'a str>§cs_user_agent: &'a str§cs_uri_query: Option<&'a str>§x_edge_result_type: EdgeResultType§x_edge_request_id: &'a str§x_host_header: &'a str§cs_protocol: CsProtocol§cs_bytes: u64§time_taken: Duration§x_forwarded_for: Option<ForwardedForAddrs>§ssl_protocol: Option<SslProtocol>§ssl_cipher: Option<&'a str>§x_edge_response_result_type: EdgeResultType§cs_protocol_version: CsProtocolVersion§fle_status: Option<&'a str>§fle_encrypted_fields: Option<u64>§c_port: u16§time_to_first_byte: Duration§x_edge_detailed_result_type: DetailedEdgeResultType§sc_content_type: Option<&'a str>§sc_content_len: Option<u64>§sc_range_start: Option<i64>§sc_range_end: Option<i64>Trait Implementations§
Source§impl<'a> From<Logline<'a, Unvalidated>> for Logline<'a, Validated>
impl<'a> From<Logline<'a, Unvalidated>> for Logline<'a, Validated>
Source§fn from(unvalidated: Logline<'a, Unvalidated>) -> Self
fn from(unvalidated: Logline<'a, Unvalidated>) -> Self
Converts to this type from the input type.
Source§impl<'a> TryFrom<Logline<'a, Unvalidated>> for Logline<'a, Unvalidated>
impl<'a> TryFrom<Logline<'a, Unvalidated>> for Logline<'a, Unvalidated>
impl<'a, V> StructuralPartialEq for Logline<'a, V>
Auto Trait Implementations§
impl<'a, V> Freeze for Logline<'a, V>
impl<'a, V> RefUnwindSafe for Logline<'a, V>where
V: RefUnwindSafe,
impl<'a, V> Send for Logline<'a, V>where
V: Send,
impl<'a, V> Sync for Logline<'a, V>where
V: Sync,
impl<'a, V> Unpin for Logline<'a, V>where
V: Unpin,
impl<'a, V> UnwindSafe for Logline<'a, V>where
V: UnwindSafe,
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