[−][src]Struct news_flash::models::headline::Headline
Fields
article_id: ArticleID
unread: Read
marked: Marked
Implementations
impl Headline
[src]
pub fn from_article(article: &Article) -> Headline
[src]
Trait Implementations
impl Debug for Headline
[src]
impl HasTable for Headline
[src]
impl<'ident> Identifiable for &'ident Headline
[src]
type Id = &'ident ArticleID
The type of this struct's identifier. Read more
fn id(self) -> Self::Id
[src]
impl PartialEq<Headline> for Headline
[src]
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Headline where
(ArticleID, Read, Marked): Queryable<__ST, __DB>,
[src]
(ArticleID, Read, Marked): Queryable<__ST, __DB>,
type Row = <(ArticleID, Read, Marked) 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 Headline
[src]
Auto Trait Implementations
impl RefUnwindSafe for Headline
impl Send for Headline
impl Sync for Headline
impl Unpin for Headline
impl UnwindSafe for Headline
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
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> Same<T> for T
type Output = T
Should always be Self
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
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.
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.
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>,