[][src]Enum news_flash::models::category::CategoryType

pub enum CategoryType {
    Default,
    Generated,
}

Variants

Default
Generated

Implementations

impl CategoryType[src]

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

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

Trait Implementations

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

type Expression = Bound<Integer, Self>

The expression being returned

impl AsExpression<Integer> for CategoryType[src]

type Expression = Bound<Integer, Self>

The expression being returned

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

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

The expression being returned

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

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

The expression being returned

impl Clone for CategoryType[src]

impl Copy for CategoryType[src]

impl Debug for CategoryType[src]

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

impl Eq for CategoryType[src]

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

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

impl PartialEq<CategoryType> for CategoryType[src]

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

impl StructuralEq for CategoryType[src]

impl StructuralPartialEq for CategoryType[src]

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

impl<__DB> ToSql<Nullable<Integer>, __DB> for CategoryType 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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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>,