[][src]Enum news_flash::models::article::Read

pub enum Read {
    Read,
    Unread,
}

Variants

Read
Unread

Implementations

impl Read[src]

pub fn to_int(self) -> i32[src]

pub fn from_int(int: i32) -> Self[src]

pub fn invert(&self) -> Read[src]

Trait Implementations

impl<'expr> AsExpression<Integer> for &'expr Read[src]

type Expression = Bound<Integer, Self>

The expression being returned

impl AsExpression<Integer> for Read[src]

type Expression = Bound<Integer, Self>

The expression being returned

impl<'expr> AsExpression<Nullable<Integer>> for &'expr Read[src]

type Expression = Bound<Nullable<Integer>, Self>

The expression being returned

impl AsExpression<Nullable<Integer>> for Read[src]

type Expression = Bound<Nullable<Integer>, Self>

The expression being returned

impl Clone for Read[src]

impl Copy for Read[src]

impl Debug for Read[src]

impl<'de> Deserialize<'de> for Read[src]

impl FromSql<Integer, Sqlite> for Read[src]

impl<__ST, __DB> FromSqlRow<__ST, __DB> for Read where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[src]

impl PartialEq<Read> for Read[src]

impl<__ST, __DB> Queryable<__ST, __DB> for Read where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[src]

type Row = Self

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

impl Serialize for Read[src]

impl StructuralPartialEq for Read[src]

impl ToSql<Integer, Sqlite> for Read[src]

impl<__DB> ToSql<Nullable<Integer>, __DB> for Read where
    __DB: Backend,
    Self: ToSql<Integer, __DB>, 
[src]

Auto Trait Implementations

impl RefUnwindSafe for Read

impl Send for Read

impl Sync for Read

impl Unpin for Read

impl UnwindSafe for Read

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,