Struct rhit::LogBase[][src]

pub struct LogBase {
    pub dates: Vec<Date>,
    pub lines: Vec<LogLine>,
}

Fields

dates: Vec<Date>lines: Vec<LogLine>

Implementations

impl LogBase[src]

pub fn new(path: &Path) -> Result<Self>[src]

pub fn unique_year_month(&self) -> (Option<u16>, Option<u8>)[src]

pub fn retain_remote_addr_matching(&mut self, pattern: &str) -> Result<()>[src]

pub fn retain_methods_matching(&mut self, pattern: &str) -> Result<()>[src]

pub fn retain_status_matching(&mut self, pattern: &str) -> Result<()>[src]

pub fn retain_paths_matching(&mut self, pattern: &str) -> Result<()>[src]

pub fn retain_referers_matching(&mut self, pattern: &str) -> Result<()>[src]

pub fn retain_dates_matching(&mut self, pattern: &str) -> Result<()>[src]

pub fn make_date_filter(&self, pattern: &str) -> Result<DateFilter>[src]

pub fn start_time(&self) -> Date[src]

pub fn end_time(&self) -> Date[src]

pub fn day_count(&self) -> usize[src]

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

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.