Struct diesel::sql_types::Tinyint [−][src]
pub struct Tinyint;
The tiny integer SQL type.
This is only available on MySQL.
Keep in mind that infer_schema! will see TINYINT(1) as Bool,
not Tinyint.
ToSql impls
FromSql impls
Trait Implementations
impl QueryId for Tinyint[src]
impl QueryId for Tinyinttype QueryId = Tinyint
A type which uniquely represents Self in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self be uniquely identified by its type? Read more
fn query_id() -> Option<TypeId>[src]
fn query_id() -> Option<TypeId>Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more
impl NotNull for Tinyint[src]
impl NotNull for Tinyintimpl SingleValue for Tinyint[src]
impl SingleValue for Tinyintimpl HasSqlType<Tinyint> for Mysql[src]
impl HasSqlType<Tinyint> for Mysqlimpl Debug for Tinyint[src]
impl Debug for Tinyintfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Tinyint[src]
impl Clone for Tinyintfn clone(&self) -> Tinyint[src]
fn clone(&self) -> TinyintReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Tinyint[src]
impl Copy for Tinyintimpl Default for Tinyint[src]
impl Default for Tinyintimpl ToSql<Tinyint, Mysql> for i8[src]
impl ToSql<Tinyint, Mysql> for i8impl FromSql<Tinyint, Mysql> for i8[src]
impl FromSql<Tinyint, Mysql> for i8impl<'expr> AsExpression<Tinyint> for &'expr i8[src]
impl<'expr> AsExpression<Tinyint> for &'expr i8type Expression = Bound<Tinyint, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr2, 'expr> AsExpression<Tinyint> for &'expr2 &'expr i8[src]
impl<'expr2, 'expr> AsExpression<Tinyint> for &'expr2 &'expr i8type Expression = Bound<Tinyint, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl AsExpression<Tinyint> for i8[src]
impl AsExpression<Tinyint> for i8type Expression = Bound<Tinyint, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion