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

pub enum Direction {
    LeftToRight,
    RightToLeft,
}

Variants

LeftToRight
RightToLeft

Implementations

impl Direction[src]

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

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

Trait Implementations

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

type Expression = Bound<Integer, Self>

The expression being returned

impl AsExpression<Integer> for Direction[src]

type Expression = Bound<Integer, Self>

The expression being returned

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

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

The expression being returned

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

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

The expression being returned

impl Clone for Direction[src]

impl Copy for Direction[src]

impl Debug for Direction[src]

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

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

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

impl PartialEq<Direction> for Direction[src]

impl<__ST, __DB> Queryable<__ST, __DB> for Direction 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 Direction[src]

impl StructuralPartialEq for Direction[src]

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

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

Auto Trait Implementations

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