Struct news_flash::models::article::Article [−][src]
Fields
article_id: ArticleID
title: Option<String>
feed_id: FeedID
url: Option<Url>
date: NaiveDateTime
synced: NaiveDateTime
summary: Option<String>
direction: Option<Direction>
unread: Read
marked: Marked
thumbnail_url: Option<String>
Implementations
impl Article
[src]
pub fn decompose(
self
) -> (ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, Option<String>, Option<Direction>, Read, Marked, Option<String>)
[src]
self
) -> (ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, Option<String>, Option<Direction>, Read, Marked, Option<String>)
Trait Implementations
impl Clone for Article
[src]
impl Debug for Article
[src]
impl HasTable for Article
[src]
impl<'ident> Identifiable for &'ident Article
[src]
type Id = &'ident ArticleID
The type of this struct’s identifier. Read more
fn id(self) -> Self::Id
[src]
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, NaiveDateTime, Option<String>, Option<Direction>, Read, Marked, Option<String>): Queryable<__ST, __DB>,
[src]
(ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, NaiveDateTime, Option<String>, Option<Direction>, Read, Marked, Option<String>): Queryable<__ST, __DB>,
type Row = <(ArticleID, Option<String>, Option<String>, FeedID, Option<Url>, NaiveDateTime, NaiveDateTime, Option<String>, Option<Direction>, Read, Marked, Option<String>) as Queryable<__ST, __DB>>::Row
The Rust type you’d like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,