[][src]Enum todo_lib::tfilter::ValueSpan

pub enum ValueSpan {
    None,
    Equal,
    Lower,
    Higher,
    Any,
    Range,
    Active,
}

A type of comparison for the property.

Every property supports only a limited subset:

  • project and context: do not use ValueSpan because they always search for a given text;
  • priority: None, Any, Equal, Lower, and Higher;
  • recurrence: None and Any;
  • due: None, Any, Lower, and Range;

Variants

None

Do not check the property value

Equal

Property value must equal a given one (projects and contexts provide more ways to compare, including simple pattern matching)

Lower

Property value must be equal to or less than the given one

Higher

Property value must be equal to or greater than the given one

Any

Property must be set to any value except None or empty string. Useful, e.g, to select all todos with any due date or priority

Range

Property value must be within range (range is inclusive)

Active

Timer is running

Trait Implementations

impl Clone for ValueSpan[src]

impl Debug for ValueSpan[src]

impl PartialEq<ValueSpan> for ValueSpan[src]

impl StructuralPartialEq for ValueSpan[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,