Struct diesel::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 Debug for Tinyint
[src]
impl Clone for Tinyint
[src]
fn clone(&self) -> Tinyint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Tinyint
[src]
impl Default for Tinyint
[src]
impl QueryId for Tinyint
[src]
type QueryId = Self
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]
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more