[][src]Struct timebar::bar::life::LifeConfig

pub struct LifeConfig {
    pub name: String,
    pub day: u32,
    pub month: u32,
    pub year: u32,
    pub lifespan: u32,
}

Fields

name: Stringday: u32month: u32year: u32lifespan: u32

Implementations

impl LifeConfig[src]

Trait Implementations

impl Clone for LifeConfig[src]

impl Debug for LifeConfig[src]

impl Deserialize for LifeConfig[src]

impl PartialEq<LifeConfig> for LifeConfig[src]

impl Serialize for LifeConfig[src]

impl StructuralPartialEq for LifeConfig[src]

Auto Trait Implementations

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> Preferences for T where
    T: Serialize + Deserialize
[src]

impl<T> ToJson for T where
    T: Serialize + ?Sized

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

type Owned = T

The resulting type after obtaining ownership.

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.