[][src]Struct news_flash::models::tag::Tag

pub struct Tag {
    pub tag_id: TagID,
    pub label: String,
    pub color: Option<String>,
    pub sort_index: Option<i32>,
}

Fields

tag_id: TagIDlabel: Stringcolor: Option<String>sort_index: Option<i32>

Trait Implementations

impl Clone for Tag[src]

impl Debug for Tag[src]

impl Eq for Tag[src]

impl HasTable for Tag[src]

type Table = table

The table this type is associated with.

impl Hash for Tag[src]

impl<'ident> Identifiable for &'ident Tag[src]

type Id = &'ident TagID

The type of this struct's identifier. Read more

impl PartialEq<Tag> for Tag[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Tag where
    (TagID, String, Option<String>, Option<i32>): Queryable<__ST, __DB>, 
[src]

type Row = <(TagID, String, Option<String>, Option<i32>) as Queryable<__ST, __DB>>::Row

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

impl StructuralEq for Tag[src]

impl StructuralPartialEq for Tag[src]

Auto Trait Implementations

impl RefUnwindSafe for Tag

impl Send for Tag

impl Sync for Tag

impl Unpin for Tag

impl UnwindSafe for Tag

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