Struct rhit::LogLine[][src]

pub struct LogLine {
    pub remote_addr: Box<str>,
    pub date: Date,
    pub date_idx: usize,
    pub method: Method,
    pub path: Box<str>,
    pub status: u16,
    pub bytes_sent: u64,
    pub referer: Box<str>,
}

A line in the access log, describing a hit.

Fields

remote_addr: Box<str>date: Datedate_idx: usizemethod: Methodpath: Box<str>status: u16bytes_sent: u64referer: Box<str>

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

impl RefUnwindSafe for LogLine

impl Send for LogLine

impl Sync for LogLine

impl Unpin for LogLine

impl UnwindSafe for LogLine

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.