pub struct AccessLogEntry {Show 13 fields
pub time: SystemTime,
pub bucket: String,
pub remote_ip: Option<String>,
pub requester: Option<String>,
pub operation: &'static str,
pub key: Option<String>,
pub request_uri: String,
pub http_status: u16,
pub error_code: Option<String>,
pub bytes_sent: u64,
pub object_size: u64,
pub total_time_ms: u64,
pub user_agent: Option<String>,
}Expand description
Per-request structured fields collected at handler completion. The emitter renders this into the on-the-wire S3 access-log format on flush.
Fields§
§time: SystemTime§bucket: String§remote_ip: Option<String>§requester: Option<String>§operation: &'static str§key: Option<String>§request_uri: String§http_status: u16§error_code: Option<String>§bytes_sent: u64§object_size: u64§total_time_ms: u64§user_agent: Option<String>Trait Implementations§
Source§impl Clone for AccessLogEntry
impl Clone for AccessLogEntry
Source§fn clone(&self) -> AccessLogEntry
fn clone(&self) -> AccessLogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AccessLogEntry
impl RefUnwindSafe for AccessLogEntry
impl Send for AccessLogEntry
impl Sync for AccessLogEntry
impl Unpin for AccessLogEntry
impl UnsafeUnpin for AccessLogEntry
impl UnwindSafe for AccessLogEntry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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