[][src]Struct nanowrimo::data::StatsInfo

pub struct StatsInfo {
    pub projects: u64,
    pub projects_enabled: bool,
    pub streak: u64,
    pub streak_enabled: bool,
    pub word_count: u64,
    pub word_count_enabled: bool,
    pub wordiest: u64,
    pub wordiest_enabled: bool,
    pub writing_pace: Option<u64>,
    pub writing_pace_enabled: bool,
    pub years_done: Option<u64>,
    pub years_enabled: bool,
    pub years_won: Option<u64>,
}

Fields

projects: u64projects_enabled: boolstreak: u64streak_enabled: boolword_count: u64word_count_enabled: boolwordiest: u64wordiest_enabled: boolwriting_pace: Option<u64>writing_pace_enabled: boolyears_done: Option<u64>years_enabled: boolyears_won: Option<u64>

Trait Implementations

impl Debug for StatsInfo[src]

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

impl Serialize for StatsInfo[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.