pub struct JiraInboxConfig {
pub enabled: bool,
pub poll_interval_secs: u64,
pub notify: bool,
pub custom_fields: Vec<JiraCustomField>,
pub sort_by_field: Option<String>,
}Expand description
Settings for polling assigned open Jira issues into the local inbox.
Fields§
§enabled: boolWhether the watcher should poll Jira for open assigned issues.
poll_interval_secs: u64Seconds between Jira inbox polls (default 300 = 5 minutes).
notify: boolWhether to show a desktop toast when a new issue appears.
custom_fields: Vec<JiraCustomField>Extra Jira fields to fetch (custom fields such as Scoring).
sort_by_field: Option<String>Field id used for ranking (DESC), typically Scoring (customfield_…).
Implementations§
Source§impl JiraInboxConfig
impl JiraInboxConfig
Sourcepub fn extra_field_ids(&self) -> Vec<String>
pub fn extra_field_ids(&self) -> Vec<String>
Field ids to request from Jira search (custom fields only).
Trait Implementations§
Source§impl Clone for JiraInboxConfig
impl Clone for JiraInboxConfig
Source§fn clone(&self) -> JiraInboxConfig
fn clone(&self) -> JiraInboxConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JiraInboxConfig
impl Debug for JiraInboxConfig
Source§impl Default for JiraInboxConfig
impl Default for JiraInboxConfig
Source§impl<'de> Deserialize<'de> for JiraInboxConfig
impl<'de> Deserialize<'de> for JiraInboxConfig
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
Source§impl PartialEq for JiraInboxConfig
impl PartialEq for JiraInboxConfig
Source§impl Serialize for JiraInboxConfig
impl Serialize for JiraInboxConfig
impl StructuralPartialEq for JiraInboxConfig
Auto Trait Implementations§
impl Freeze for JiraInboxConfig
impl RefUnwindSafe for JiraInboxConfig
impl Send for JiraInboxConfig
impl Sync for JiraInboxConfig
impl Unpin for JiraInboxConfig
impl UnsafeUnpin for JiraInboxConfig
impl UnwindSafe for JiraInboxConfig
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