[][src]Struct i3status_rs::blocks::time::Time

pub struct Time {
    id: usize,
    time: TextWidget,
    update_interval: Duration,
    format: String,
    timezone: Option<Tz>,
    locale: Option<String>,
}

Fields

id: usizetime: TextWidgetupdate_interval: Durationformat: Stringtimezone: Option<Tz>locale: Option<String>

Trait Implementations

impl Block for Time[src]

impl ConfigBlock for Time[src]

type Config = TimeConfig

Auto Trait Implementations

impl !RefUnwindSafe for Time[src]

impl !Send for Time[src]

impl !Sync for Time[src]

impl Unpin for Time[src]

impl UnwindSafe for Time[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.