[−][src]Struct i3status_rs::blocks::pacman::PacmanConfig   
Fields
interval: DurationUpdate interval in seconds
format: StringFormat override
format_singular: StringAlternative format override for when exactly 1 update is available
format_up_to_date: StringAlternative format override for when no updates are available
warning_updates_regex: Option<String>Indicate a warning state for the block if any pending update match the
following regex. Default behaviour is that no package updates are deemed
warning
critical_updates_regex: Option<String>Indicate a critical state for the block if any pending update match the following regex.
Default behaviour is that no package updates are deemed critical
aur_command: Option<String>Optional AUR command, listing available updates
hide_when_uptodate: boolImplementations
impl PacmanConfig[src]
fn watched(
    format: &str, 
    format_singular: &str, 
    format_up_to_date: &str, 
    aur_command: Option<String>
) -> Result<Watched, Error>[src]
format: &str,
format_singular: &str,
format_up_to_date: &str,
aur_command: Option<String>
) -> Result<Watched, Error>
Trait Implementations
impl Clone for PacmanConfig[src]
fn clone(&self) -> PacmanConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PacmanConfig[src]
impl Default for PacmanConfig[src]
impl<'de> Deserialize<'de> for PacmanConfig where
    PacmanConfig: Default, [src]
PacmanConfig: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for PacmanConfig[src]
impl Send for PacmanConfig[src]
impl Sync for PacmanConfig[src]
impl Unpin for PacmanConfig[src]
impl UnwindSafe for PacmanConfig[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>,