pub enum ValueSpan {
None,
Equal,
Lower,
Higher,
Any,
Range,
}
Expand description
A type of comparison for the property.
Every property supports only a limited subset:
project
andcontext
: do not useValueSpan
because they always search for a given text;priority
:None
,Any
,Equal
,Lower
, andHigher
;recurrence
:None
andAny
;due
:None
,Any
,Lower
, andRange
;
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)
Trait Implementations
impl StructuralPartialEq for ValueSpan
Auto Trait Implementations
impl RefUnwindSafe for ValueSpan
impl Send for ValueSpan
impl Sync for ValueSpan
impl Unpin for ValueSpan
impl UnwindSafe for ValueSpan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more