Struct news_flash::models::ids::CategoryID
source · pub struct CategoryID(_);
Implementations
sourceimpl CategoryID
impl CategoryID
sourceimpl CategoryID
impl CategoryID
Trait Implementations
sourceimpl<'expr> AsExpression<Nullable<Text>> for &'expr CategoryID
impl<'expr> AsExpression<Nullable<Text>> for &'expr CategoryID
type Expression = Bound<Nullable<Text>, &'expr CategoryID>
type Expression = Bound<Nullable<Text>, &'expr CategoryID>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl AsExpression<Nullable<Text>> for CategoryID
impl AsExpression<Nullable<Text>> for CategoryID
type Expression = Bound<Nullable<Text>, CategoryID>
type Expression = Bound<Nullable<Text>, CategoryID>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr> AsExpression<Text> for &'expr CategoryID
impl<'expr> AsExpression<Text> for &'expr CategoryID
type Expression = Bound<Text, &'expr CategoryID>
type Expression = Bound<Text, &'expr CategoryID>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl AsExpression<Text> for CategoryID
impl AsExpression<Text> for CategoryID
type Expression = Bound<Text, CategoryID>
type Expression = Bound<Text, CategoryID>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl Clone for CategoryID
impl Clone for CategoryID
sourcefn clone(&self) -> CategoryID
fn clone(&self) -> CategoryID
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CategoryID
impl Debug for CategoryID
sourceimpl<'de> Deserialize<'de> for CategoryID
impl<'de> Deserialize<'de> for CategoryID
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CategoryID
impl Display for CategoryID
sourceimpl FromSql<Text, Sqlite> for CategoryID
impl FromSql<Text, Sqlite> for CategoryID
sourceimpl Hash for CategoryID
impl Hash for CategoryID
sourceimpl PartialEq<CategoryID> for CategoryID
impl PartialEq<CategoryID> for CategoryID
sourcefn eq(&self, other: &CategoryID) -> bool
fn eq(&self, other: &CategoryID) -> bool
sourceimpl<__ST, __DB> Queryable<__ST, __DB> for CategoryIDwhere
__DB: Backend,
__ST: SingleValue,
Self: FromSql<__ST, __DB>,
impl<__ST, __DB> Queryable<__ST, __DB> for CategoryIDwhere
__DB: Backend,
__ST: SingleValue,
Self: FromSql<__ST, __DB>,
sourceimpl Serialize for CategoryID
impl Serialize for CategoryID
sourceimpl<__DB> ToSql<Nullable<Text>, __DB> for CategoryIDwhere
__DB: Backend,
Self: ToSql<Text, __DB>,
impl<__DB> ToSql<Nullable<Text>, __DB> for CategoryIDwhere
__DB: Backend,
Self: ToSql<Text, __DB>,
sourceimpl ToSql<Text, Sqlite> for CategoryID
impl ToSql<Text, Sqlite> for CategoryID
impl Eq for CategoryID
impl StructuralEq for CategoryID
impl StructuralPartialEq for CategoryID
Auto Trait Implementations
impl RefUnwindSafe for CategoryID
impl Send for CategoryID
impl Sync for CategoryID
impl Unpin for CategoryID
impl UnwindSafe for CategoryID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
sourceimpl<T, ST, DB> FromStaticSqlRow<ST, DB> for Twhere
DB: Backend,
T: FromSql<ST, DB>,
ST: SingleValue,
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for Twhere
DB: Backend,
T: FromSql<ST, DB>,
ST: SingleValue,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresourcefn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read moreimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
sourceconst FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.