Struct rhit::LogLine[][src]

pub struct LogLine {
    pub remote_addr: IpAddr,
    pub date: Date,
    pub date_idx: usize,
    pub method: Method,
    pub path: String,
    pub status: u16,
    pub bytes_sent: u64,
    pub referer: String,
}

A line in the access log, describing a hit.

Fields

remote_addr: IpAddrdate: Datedate_idx: usizemethod: Methodpath: Stringstatus: u16bytes_sent: u64referer: String

Implementations

impl LogLine[src]

pub fn is_resource(&self) -> bool[src]

Trait Implementations

impl DateIndexed for LogLine[src]

impl DateIndexed for &LogLine[src]

impl Debug for LogLine[src]

impl FromStr for LogLine[src]

type Err = LogParseError

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Fun for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.