[][src]Enum sloggers::types::TimeZone

pub enum TimeZone {
    Utc,
    Local,
}

Time Zone.

Examples

The default value:

use sloggers::types::TimeZone;

assert_eq!(TimeZone::default(), TimeZone::Local);

Variants

UtcLocal

Trait Implementations

impl Eq for TimeZone[src]

impl Default for TimeZone[src]

impl Clone for TimeZone[src]

impl PartialEq<TimeZone> for TimeZone[src]

impl Copy for TimeZone[src]

impl Debug for TimeZone[src]

impl FromStr for TimeZone[src]

type Err = Error

The associated error which can be returned from parsing.

impl Serialize for TimeZone[src]

impl<'de> Deserialize<'de> for TimeZone[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]