[][src]Trait emseries::Criteria

pub trait Criteria {
    fn apply<T: Recordable>(&self, record: &T) -> bool;
}

This trait is used for constructing queries for searching the database.

Required methods

fn apply<T: Recordable>(&self, record: &T) -> bool

Apply this criteria element to a record, returning true only if the record matches the criteria.

Loading content...

Implementors

impl Criteria for EndTime[src]

impl Criteria for StartTime[src]

impl Criteria for Tags[src]

impl<A, B> Criteria for And<A, B> where
    A: Criteria,
    B: Criteria
[src]

Loading content...