[][src]Struct nanowrimo::data::ProjectChallengeData

pub struct ProjectChallengeData {
    pub challenge_id: u64,
    pub current_count: u64,
    pub ends_at: NaiveDate,
    pub event_type: EventType,
    pub feeling: Option<Feeling>,
    pub goal: u64,
    pub how: Option<How>,
    pub last_recompute: Option<DateTime<Utc>>,
    pub name: String,
    pub project_id: u64,
    pub speed: Option<u64>,
    pub start_count: Option<u64>,
    pub starts_at: NaiveDate,
    pub streak: Option<u64>,
    pub unit_type: UnitType,
    pub user_id: u64,
    pub when: Option<u64>,
    pub writing_location: Option<String>,
    pub writing_type: Option<WritingType>,
}

Fields

challenge_id: u64current_count: u64ends_at: NaiveDateevent_type: EventTypefeeling: Option<Feeling>goal: u64how: Option<How>last_recompute: Option<DateTime<Utc>>name: Stringproject_id: u64speed: Option<u64>start_count: Option<u64>starts_at: NaiveDatestreak: Option<u64>unit_type: UnitTypeuser_id: u64when: Option<u64>writing_location: Option<String>writing_type: Option<WritingType>

Trait Implementations

impl Debug for ProjectChallengeData[src]

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

impl Serialize for ProjectChallengeData[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.