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 synced: NaiveDateTime,
    pub summary: Option<String>,
    pub direction: Option<Direction>,
    pub unread: Read,
    pub marked: Marked,
    pub thumbnail_url: Option<String>,
}

Fields

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

Trait Implementations

source

impl Clone for Article

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
source

impl Debug for Article

Formats the value using the given formatter. Read more
source

impl HasTable for Article

The table this type is associated with.
Returns the table this type is associated with.
The type of this struct’s identifier. Read more
Returns the identifier for this record. Read more
source

impl PartialEq<Article> for Article

This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
source

impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11), __DB> for Articlewhere
    (ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, NaiveDateTime, Option<String>, Option<Direction>, Read, Marked, Option<String>): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11), __DB>,

The Rust type you’d like to map from. Read more
Construct an instance of this type
source

impl Eq for Article

source

impl StructuralEq for Article

source

impl StructuralPartialEq for Article

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

source

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more
source

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more
source

impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,

Compare self to key and return true if they are equal.
source

impl<T> From<T> for T

Returns the argument unchanged.

source

impl<T> Instrument for T

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source

impl<T> IntoSql for T

Convert self to an expression for Diesel’s query builder. Read more
Convert &self to an expression for Diesel’s query builder. Read more

impl<T> Pointable for T

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
source

impl<T> Same<T> for T

Should always be Self
source

impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
    ST: SqlTypeOrSelectable + TupleSize,
    T: Queryable<ST, DB>,
    DB: Backend,

The number of fields that this type will consume.
source

impl<T> ToOwned for Twhere
    T: Clone,

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
source

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.

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

source

impl<T> WithSubscriber for T

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more