pub struct RuleStanding {
pub number: usize,
pub name: Option<String>,
pub when: String,
pub then: String,
pub now: String,
pub waiting: usize,
}Expand description
One rule as kasl inbox rules shows it.
Fields§
§number: usize§name: Option<String>§when: String§then: String§now: StringWhat it matches in the inbox now, in words.
waiting: usizeMatching issues its pin or dismissal has not reached - what --apply would change.
Trait Implementations§
Source§impl Clone for RuleStanding
impl Clone for RuleStanding
Source§impl Debug for RuleStanding
impl Debug for RuleStanding
impl Eq for RuleStanding
Source§impl PartialEq for RuleStanding
impl PartialEq for RuleStanding
impl StructuralPartialEq for RuleStanding
Auto Trait Implementations§
impl Freeze for RuleStanding
impl RefUnwindSafe for RuleStanding
impl Send for RuleStanding
impl Sync for RuleStanding
impl Unpin for RuleStanding
impl UnsafeUnpin for RuleStanding
impl UnwindSafe for RuleStanding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.