Struct cloudfront_logs::deprecated::ParquetLogLine
source · pub struct ParquetLogLine<'a> {Show 34 fields
pub date: NaiveDate,
pub time: &'a str,
pub datetime: NaiveDateTime,
pub x_edge_location: &'a str,
pub sc_bytes: u64,
pub c_ip: &'a str,
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: &'a str,
pub x_edge_request_id: &'a str,
pub x_host_header: &'a str,
pub cs_protocol: &'a str,
pub cs_bytes: u64,
pub time_taken: f64,
pub x_forwarded_for: Option<&'a str>,
pub ssl_protocol: Option<&'a str>,
pub ssl_cipher: Option<&'a str>,
pub x_edge_response_result_type: &'a str,
pub cs_protocol_version: &'a str,
pub fle_status: Option<&'a str>,
pub fle_encrypted_fields: Option<u64>,
pub c_port: u16,
pub time_to_first_byte: f64,
pub x_edge_detailed_result_type: &'a str,
pub sc_content_type: &'a str,
pub sc_content_len: u64,
pub sc_range_start: Option<u64>,
pub sc_range_end: Option<u64>,
}👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
Available on crate feature
parquet only.Expand description
A mostly borrowed version suitable for writing into parquet files
It’s similar to CheckedRawLogLine,
but with some fields slightly more typed (time, numbers, options)
Fields§
§date: NaiveDate👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§time: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§datetime: NaiveDateTime👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_location: &'a str👎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: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_method: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_host: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_uri_stem: &'a str👎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<&'a str>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_user_agent: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_uri_query: Option<&'a str>👎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: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_request_id: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_host_header: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_protocol: &'a str👎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: f64👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_forwarded_for: Option<&'a str>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§ssl_protocol: Option<&'a str>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§ssl_cipher: Option<&'a str>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_response_result_type: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§cs_protocol_version: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§fle_status: Option<&'a str>👎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: f64👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§x_edge_detailed_result_type: &'a str👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_content_type: &'a str👎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<u64>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
§sc_range_end: Option<u64>👎Deprecated since 0.7.0: use new modules/types instead (borrowed, owned, referential)
Trait Implementations§
source§impl<'a> PartialEq for LogLine<'a>
impl<'a> PartialEq for LogLine<'a>
source§impl<'a> RecordWriter<LogLine<'a>> for &[LogLine<'a>]
impl<'a> RecordWriter<LogLine<'a>> for &[LogLine<'a>]
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
impl<'a> StructuralPartialEq for LogLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for LogLine<'a>
impl<'a> RefUnwindSafe for LogLine<'a>
impl<'a> Send for LogLine<'a>
impl<'a> Sync for LogLine<'a>
impl<'a> Unpin for LogLine<'a>
impl<'a> UnwindSafe for LogLine<'a>
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