[−][src]Struct todo_lib::tfilter::Conf
A rules for todo list filtering. Setting a field to None or empty vector means that the corresponding property is not checked. All text comparisons are case-insensitive.
Fields
range: ItemRange
Range of todo IDs
projects: Vec<String>
List of all project tags that a todo must include. The search supports very limited pattern matching:
foo*
- finds all todos with projects that starts withfoo
*foo
- finds all todos with projects that ends withfoo
*foo*
- finds all todos with projects that containsfoo
Special values:- none - select todos with no contexts
- any - select todos that have at least one context
contexts: Vec<String>
List of all context tags that a todo must include. The search supports very limited pattern matching:
foo*
- finds all todos with contexts that starts withfoo
*foo
- finds all todos with contexts that ends withfoo
*foo*
- finds all todos with contexts that containsfoo
Special values:- none - select todos with no contexts
- any - select todos that have at least one context
List of all tags that a todo must include. The search supports very limited pattern matching:
foo*
- finds all todos with tags that starts withfoo
*foo
- finds all todos with tags that ends withfoo
*foo*
- finds all todos with tags that containsfoo
Special values:- none - select todos with no tags
- any - select todos that have at least one tag
regex: Option<String>
A text that any of text, project, or context must contain
use_regex: bool
If it is true
, regex
is treated as regular expression. If use_regex
is false
, the value of regex
is just a substring to search for
all: TodoStatus
All incomplete, completed, or both types of todos
due: Option<DateRange>
Search for a due date: any, no due date, or withing range
thr: Option<DateRange>
Search for a threshold date: any, no threshold date, or withing range
rec: Option<Recurrence>
Search for recurrent todos
pri: Option<Priority>
Search for todos with priority or priority range
tmr: Option<Timer>
Search for todos with timer related stuff: active, inactive, any time spent
created: Option<DateRange>
Search for a creation date: any, no create date, or withing range
finished: Option<DateRange>
Search for a finished date: any, no finish date, or withing range
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Conf
[src]
impl Send for Conf
[src]
impl Sync for Conf
[src]
impl Unpin for Conf
[src]
impl UnwindSafe for Conf
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,