[][src]Struct derpiboorust::models::Gallery

pub struct Gallery {
    pub id: u64,
    pub title: String,
    pub description: String,
    pub spoiler_warning: String,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub creator_id: u64,
    pub watcher_count: u64,
    pub image_count: u64,
    pub image_ids: Option<Vec<u64>>,
}

Gallery model

Fields

id: u64title: Stringdescription: Stringspoiler_warning: Stringcreated_at: DateTime<Utc>updated_at: DateTime<Utc>creator_id: u64watcher_count: u64image_count: u64image_ids: Option<Vec<u64>>

Trait Implementations

impl Debug for Gallery[src]

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

Auto Trait Implementations

impl Send for Gallery

impl Sync for Gallery

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T