Struct news_flash::models::article::FatArticle[][src]

pub struct FatArticle {
    pub article_id: ArticleID,
    pub title: Option<String>,
    pub author: Option<String>,
    pub feed_id: FeedID,
    pub url: Option<Url>,
    pub date: NaiveDateTime,
    pub synced: NaiveDateTime,
    pub html: Option<String>,
    pub summary: Option<String>,
    pub direction: Option<Direction>,
    pub unread: Read,
    pub marked: Marked,
    pub scraped_content: Option<String>,
    pub plain_text: Option<String>,
    pub thumbnail_url: Option<String>,
}

Fields

article_id: ArticleIDtitle: Option<String>author: Option<String>feed_id: FeedIDurl: Option<Url>date: NaiveDateTimesynced: NaiveDateTimehtml: Option<String>summary: Option<String>direction: Option<Direction>unread: Readmarked: Markedscraped_content: Option<String>plain_text: Option<String>thumbnail_url: Option<String>

Implementations

impl FatArticle[src]

Trait Implementations

impl Clone for FatArticle[src]

impl Debug for FatArticle[src]

impl HasTable for FatArticle[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident FatArticle[src]

type Id = &'ident ArticleID

The type of this struct’s identifier. Read more

impl PartialEq<FatArticle> for FatArticle[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for FatArticle where
    (ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, NaiveDateTime, Option<String>, Option<String>, Option<Direction>, Read, Marked, Option<String>, Option<String>, Option<String>): Queryable<__ST, __DB>, 
[src]

type Row = <(ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, NaiveDateTime, Option<String>, Option<String>, Option<Direction>, Read, Marked, Option<String>, Option<String>, Option<String>) as Queryable<__ST, __DB>>::Row

The Rust type you’d like to map from. Read more

impl StructuralPartialEq for FatArticle[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> Instrument for T[src]

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

impl<T> IntoSql for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,