pub enum ValueSpan {
None,
Equal,
Lower,
Higher,
Any,
Range,
Active,
}
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)
Active
Timer is running
Trait Implementations§
source§impl PartialEq for ValueSpan
impl PartialEq for ValueSpan
impl Eq for ValueSpan
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more