pub struct Rule {
pub number: usize,
pub name: Option<String>,
pub when: String,
pub then: String,
pub matches: String,
pub waiting: usize,
}Expand description
One inbox rule and where it stands.
Fields§
§number: usizePosition in jira_inbox.rules, counting from 1.
name: Option<String>§when: StringThe conditions, in the list’s filter words.
then: StringThe actions.
matches: 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 From<&RuleStanding> for Rule
impl From<&RuleStanding> for Rule
Source§fn from(standing: &RuleStanding) -> Self
fn from(standing: &RuleStanding) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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