Struct lemmy_db_schema::CommunityBlockId [−][src]
pub struct CommunityBlockId(_);
Trait Implementations
type Expression = Bound<ST, i32>
type Expression = Bound<ST, i32>
The expression being returned
Perform the conversion
impl<'expr, ST> AsExpression<ST> for &'expr CommunityBlockId where
Bound<ST, i32>: Expression<SqlType = ST>,
impl<'expr, ST> AsExpression<ST> for &'expr CommunityBlockId where
Bound<ST, i32>: Expression<SqlType = ST>,
type Expression = Bound<ST, &'expr i32>
type Expression = Bound<ST, &'expr i32>
The expression being returned
Perform the conversion
fn 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
impl<ST, DB> FromSql<ST, DB> for CommunityBlockId where
i32: FromSql<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
impl<ST, DB> FromSql<ST, DB> for CommunityBlockId where
i32: FromSql<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
impl<ST, DB> FromSqlRow<ST, DB> for CommunityBlockId where
i32: FromSql<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
impl<ST, DB> FromSqlRow<ST, DB> for CommunityBlockId where
i32: FromSql<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Can the SQL generated by Self
be uniquely identified by its type? Read more
impl<ST, DB> Queryable<ST, DB> for CommunityBlockId where
i32: FromSqlRow<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
impl<ST, DB> Queryable<ST, DB> for CommunityBlockId where
i32: FromSqlRow<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
impl<ST, DB> ToSql<ST, DB> for CommunityBlockId where
i32: ToSql<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
impl<ST, DB> ToSql<ST, DB> for CommunityBlockId where
i32: ToSql<ST, DB>,
DB: Backend,
DB: HasSqlType<ST>,
Auto Trait Implementations
impl RefUnwindSafe for CommunityBlockId
impl Send for CommunityBlockId
impl Sync for CommunityBlockId
impl Unpin for CommunityBlockId
impl UnwindSafe for CommunityBlockId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more