pub struct RuleWhen {
pub priority: Option<String>,
pub min_score: Option<f64>,
pub status: Vec<String>,
pub types: Vec<String>,
pub projects: Vec<String>,
}Expand description
When a rule applies. Every given condition must hold; a list means any of it.
Fields§
§priority: Option<String>A priority name, with + for that priority and everything more urgent.
min_score: Option<f64>The ranking field (e.g. Scoring) at least this.
status: Vec<String>Status names or ids.
types: Vec<String>Issue types.
projects: Vec<String>Projects (in Jira, the prefix of the key).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleWhen
impl<'de> Deserialize<'de> for RuleWhen
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 RuleWhen
Auto Trait Implementations§
impl Freeze for RuleWhen
impl RefUnwindSafe for RuleWhen
impl Send for RuleWhen
impl Sync for RuleWhen
impl Unpin for RuleWhen
impl UnsafeUnpin for RuleWhen
impl UnwindSafe for RuleWhen
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