Struct rhit::LogBase[][src]

pub struct LogBase {
    pub dates: Vec<Date>,
    pub filterer: Filterer,
    pub lines: Vec<LogLine>,
    pub filtered_count: u64,
    pub filtered_histogram: Histogram,
    pub unfiltered_count: u64,
    pub unfiltered_histogram: Histogram,
}

Fields

dates: Vec<Date>filterer: Filtererlines: Vec<LogLine>filtered_count: u64filtered_histogram: Histogramunfiltered_count: u64unfiltered_histogram: Histogram

Implementations

impl LogBase[src]

pub fn new(path: &Path, args: &Args) -> Result<Self>[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

impl RefUnwindSafe for LogBase

impl Send for LogBase

impl Sync for LogBase

impl Unpin for LogBase

impl UnwindSafe for LogBase

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.