[][src]Struct nanowrimo::data::ProjectData

pub struct ProjectData {
    pub cover: Option<String>,
    pub created_at: DateTime<Utc>,
    pub excerpt: Option<String>,
    pub pinterest_url: Option<String>,
    pub playlist_url: Option<String>,
    pub primary: Option<u8>,
    pub privacy: PrivacySetting,
    pub slug: String,
    pub status: ProjectStatus,
    pub summary: Option<String>,
    pub title: String,
    pub unit_count: Option<u64>,
    pub unit_type: u64,
    pub user_id: u64,
    pub writing_type: WritingType,
}

Fields

cover: Option<String>created_at: DateTime<Utc>excerpt: Option<String>pinterest_url: Option<String>playlist_url: Option<String>primary: Option<u8>privacy: PrivacySettingslug: Stringstatus: ProjectStatussummary: Option<String>title: Stringunit_count: Option<u64>unit_type: u64user_id: u64writing_type: WritingType

Trait Implementations

impl Debug for ProjectData[src]

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

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