[][src]Enum news_flash::models::enclosure::EnclosureType

pub enum EnclosureType {
    Image,
    Video,
    Audio,
    File,
}

Variants

Image
Video
Audio
File

Implementations

impl EnclosureType[src]

pub fn from_string(string: &str) -> EnclosureType[src]

Trait Implementations

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

type Expression = Bound<Integer, Self>

The expression being returned

impl AsExpression<Integer> for EnclosureType[src]

type Expression = Bound<Integer, Self>

The expression being returned

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

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

The expression being returned

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

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

The expression being returned

impl Clone for EnclosureType[src]

impl Debug for EnclosureType[src]

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

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

impl PartialEq<EnclosureType> for EnclosureType[src]

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

type Row = Self

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

impl StructuralPartialEq for EnclosureType[src]

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

impl<__DB> ToSql<Nullable<Integer>, __DB> for EnclosureType 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> 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>,