pub struct CommonLogEntry<'a> {
pub ip: IpAddr,
pub identd_user: Option<&'a str>,
pub user: Option<&'a str>,
pub timestamp: DateTime<FixedOffset>,
pub request: RequestResult<'a>,
pub status_code: StatusCode,
pub bytes: u64,
}Fields§
§ip: IpAddr§identd_user: Option<&'a str>§user: Option<&'a str>§timestamp: DateTime<FixedOffset>§request: RequestResult<'a>§status_code: StatusCode§bytes: u64Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for CommonLogEntry<'a>
impl<'a> !RefUnwindSafe for CommonLogEntry<'a>
impl<'a> Send for CommonLogEntry<'a>
impl<'a> Sync for CommonLogEntry<'a>
impl<'a> Unpin for CommonLogEntry<'a>
impl<'a> !UnwindSafe for CommonLogEntry<'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