#[repr(u8)]pub enum StorageClass {
Null = 1,
Integer = 2,
Real = 3,
Text = 4,
Blob = 5,
}Expand description
The five fundamental SQLite storage classes.
Every value stored in SQLite belongs to exactly one of these classes. See https://www.sqlite.org/datatype3.html.
Variants§
Null = 1
SQL NULL.
Integer = 2
A signed 64-bit integer.
Real = 3
An IEEE 754 64-bit float.
Text = 4
A UTF-8 text string.
Blob = 5
A binary large object.
Trait Implementations§
Source§impl Clone for StorageClass
impl Clone for StorageClass
Source§fn clone(&self) -> StorageClass
fn clone(&self) -> StorageClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageClass
impl Debug for StorageClass
Source§impl Display for StorageClass
impl Display for StorageClass
Source§impl Hash for StorageClass
impl Hash for StorageClass
Source§impl PartialEq for StorageClass
impl PartialEq for StorageClass
impl Copy for StorageClass
impl Eq for StorageClass
impl StructuralPartialEq for StorageClass
Auto Trait Implementations§
impl Freeze for StorageClass
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnsafeUnpin for StorageClass
impl UnwindSafe for StorageClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).