[][src]Struct i3status_rs::blocks::apt::Apt

pub struct Apt {
    id: usize,
    output: TextWidget,
    update_interval: Duration,
    format: FormatTemplate,
    format_singular: FormatTemplate,
    format_up_to_date: FormatTemplate,
    warning_updates_regex: Option<Regex>,
    critical_updates_regex: Option<Regex>,
    config_path: String,
}

Fields

id: usizeoutput: TextWidgetupdate_interval: Durationformat: FormatTemplateformat_singular: FormatTemplateformat_up_to_date: FormatTemplatewarning_updates_regex: Option<Regex>critical_updates_regex: Option<Regex>config_path: String

Trait Implementations

impl Block for Apt[src]

impl ConfigBlock for Apt[src]

type Config = AptConfig

Auto Trait Implementations

impl !RefUnwindSafe for Apt[src]

impl !Send for Apt[src]

impl !Sync for Apt[src]

impl Unpin for Apt[src]

impl UnwindSafe for Apt[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.