pub enum SqliteValue {
Null,
Blob(Vec<u8>),
Text(String),
Double(f64),
Integer(i64),
I64(i64),
}
Variants§
Implementations§
source§impl<'stmt> SqliteValue
impl<'stmt> SqliteValue
pub fn read_column( statement: &'stmt Statement, col_idx: usize ) -> Result<SqliteValue>
Trait Implementations§
source§impl Clone for SqliteValue
impl Clone for SqliteValue
source§fn clone(&self) -> SqliteValue
fn clone(&self) -> SqliteValue
Returns a copy 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 SqliteValue
impl Debug for SqliteValue
source§impl<'de> Deserialize<'de> for SqliteValue
impl<'de> Deserialize<'de> for SqliteValue
source§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
Auto Trait Implementations§
impl RefUnwindSafe for SqliteValue
impl Send for SqliteValue
impl Sync for SqliteValue
impl Unpin for SqliteValue
impl UnwindSafe for SqliteValue
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.