pub struct TinyInt;
Expand description
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
sourceimpl QueryId for TinyInt
impl QueryId for TinyInt
sourceconst HAS_STATIC_QUERY_ID: bool
const HAS_STATIC_QUERY_ID: bool
Can the SQL generated by Self
be uniquely identified by its type? Read more
impl Copy for TinyInt
impl NotNull for TinyInt
impl SingleValue for TinyInt
Auto Trait Implementations
impl RefUnwindSafe for TinyInt
impl Send for TinyInt
impl Sync for TinyInt
impl Unpin for TinyInt
impl UnwindSafe for TinyInt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> IntoNullable for T where
T: NotNull,
impl<T> IntoNullable for T where
T: NotNull,
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more