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

pub struct Article {
    pub article_id: ArticleID,
    pub title: Option<String>,
    pub author: Option<String>,
    pub feed_id: FeedID,
    pub url: Option<Url>,
    pub date: NaiveDateTime,
    pub summary: Option<String>,
    pub direction: Option<Direction>,
    pub unread: Read,
    pub marked: Marked,
}

Fields

article_id: ArticleIDtitle: Option<String>author: Option<String>feed_id: FeedIDurl: Option<Url>date: NaiveDateTimesummary: Option<String>direction: Option<Direction>unread: Readmarked: Marked

Implementations

impl Article[src]

Trait Implementations

impl Clone for Article[src]

impl Debug for Article[src]

impl HasTable for Article[src]

type Table = table

The table this type is associated with.

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

type Id = &'ident ArticleID

The type of this struct's identifier. Read more

impl PartialEq<Article> for Article[src]

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

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

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

impl StructuralPartialEq for Article[src]

Auto Trait Implementations

impl RefUnwindSafe for Article

impl Send for Article

impl Sync for Article

impl Unpin for Article

impl UnwindSafe for Article

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

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>,