Struct news_flash::models::ids::CategoryID[][src]

pub struct CategoryID(_);

Implementations

impl CategoryID[src]

pub fn new(id: &str) -> CategoryID[src]

impl CategoryID[src]

pub fn to_str(&self) -> &str[src]

Trait Implementations

impl<'expr> AsExpression<Nullable<Text>> for &'expr CategoryID[src]

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

The expression being returned

impl AsExpression<Nullable<Text>> for CategoryID[src]

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

The expression being returned

impl<'expr> AsExpression<Text> for &'expr CategoryID[src]

type Expression = Bound<Text, Self>

The expression being returned

impl AsExpression<Text> for CategoryID[src]

type Expression = Bound<Text, Self>

The expression being returned

impl Clone for CategoryID[src]

impl Debug for CategoryID[src]

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

impl Display for CategoryID[src]

impl Eq for CategoryID[src]

impl FromSql<Text, Sqlite> for CategoryID[src]

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

impl Hash for CategoryID[src]

impl PartialEq<CategoryID> for CategoryID[src]

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

impl StructuralEq for CategoryID[src]

impl StructuralPartialEq for CategoryID[src]

impl<__DB> ToSql<Nullable<Text>, __DB> for CategoryID where
    __DB: Backend,
    Self: ToSql<Text, __DB>, 
[src]

impl ToSql<Text, Sqlite> for CategoryID[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> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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