pub struct RuleThen {
pub pin: bool,
pub urgent: bool,
pub dismiss: bool,
pub tag: Vec<String>,
}Expand description
What a rule does to a matching issue.
Fields§
§pin: boolPin it, so it leads the list.
urgent: boolToast it as urgent: a toast that stays on screen until acted on.
dismiss: boolHide it from the list, as kasl inbox dismiss does.
tag: Vec<String>Tags for the task taken from it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleThen
impl<'de> Deserialize<'de> for RuleThen
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for RuleThen
Auto Trait Implementations§
impl Freeze for RuleThen
impl RefUnwindSafe for RuleThen
impl Send for RuleThen
impl Sync for RuleThen
impl Unpin for RuleThen
impl UnsafeUnpin for RuleThen
impl UnwindSafe for RuleThen
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