[−][src]Struct i3status_rs::blocks::taskwarrior::TaskwarriorConfig
Fields
interval: Duration
Update interval in seconds
warning_threshold: u32
Threshold from which on the block is marked with a warning indicator
critical_threshold: u32
Threshold from which on the block is marked with a critical indicator
A list of tags a task has to have before it's used for counting pending tasks (DEPRECATED) use filters instead
filters: Vec<Filter>
A list of named filter criteria which must be fulfilled to be counted towards the total, when that filter is active.
format: String
Format override
format_singular: String
Format override if the count is one
format_everything_done: String
Format override if the count is zero
Implementations
impl TaskwarriorConfig
[src]
fn default_interval() -> Duration
[src]
fn default_threshold_warning() -> u32
[src]
fn default_threshold_critical() -> u32
[src]
fn default_filter_tags() -> Vec<String>
[src]
fn default_filters() -> Vec<Filter>
[src]
fn default_format() -> String
[src]
Trait Implementations
impl Clone for TaskwarriorConfig
[src]
fn clone(&self) -> TaskwarriorConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TaskwarriorConfig
[src]
impl Default for TaskwarriorConfig
[src]
fn default() -> TaskwarriorConfig
[src]
impl<'de> Deserialize<'de> for TaskwarriorConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for TaskwarriorConfig
[src]
impl Send for TaskwarriorConfig
[src]
impl Sync for TaskwarriorConfig
[src]
impl Unpin for TaskwarriorConfig
[src]
impl UnwindSafe for TaskwarriorConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,