pub enum SqliteValue {
Null,
Integer(i64),
Real(f64),
Text(String),
Blob(Vec<u8>),
}
Variants§
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
Source§impl From<&str> for SqliteValue
impl From<&str> for SqliteValue
Source§impl<T> From<Option<T>> for SqliteValuewhere
SqliteValue: From<T>,
impl<T> From<Option<T>> for SqliteValuewhere
SqliteValue: From<T>,
Source§impl From<String> for SqliteValue
impl From<String> for SqliteValue
Source§impl From<bool> for SqliteValue
impl From<bool> for SqliteValue
Source§impl From<f32> for SqliteValue
impl From<f32> for SqliteValue
Source§impl From<f64> for SqliteValue
impl From<f64> for SqliteValue
Source§impl From<i16> for SqliteValue
impl From<i16> for SqliteValue
Source§impl From<i32> for SqliteValue
impl From<i32> for SqliteValue
Source§impl From<i64> for SqliteValue
impl From<i64> for SqliteValue
Source§impl From<i8> for SqliteValue
impl From<i8> for SqliteValue
Source§impl FromIterator<SqliteValue> for Row
impl FromIterator<SqliteValue> for Row
Source§fn from_iter<T: IntoIterator<Item = SqliteValue>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = SqliteValue>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Serialize for SqliteValue
impl Serialize for SqliteValue
Source§impl<'a> TryFrom<&'a SqliteValue> for &'a str
impl<'a> TryFrom<&'a SqliteValue> for &'a str
Source§impl TryFrom<&SqliteValue> for String
impl TryFrom<&SqliteValue> for String
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for Vec<u8>
impl TryFrom<&SqliteValue> for Vec<u8>
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for bool
impl TryFrom<&SqliteValue> for bool
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for f32
impl TryFrom<&SqliteValue> for f32
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for f64
impl TryFrom<&SqliteValue> for f64
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for i16
impl TryFrom<&SqliteValue> for i16
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for i32
impl TryFrom<&SqliteValue> for i32
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for i64
impl TryFrom<&SqliteValue> for i64
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Source§impl TryFrom<&SqliteValue> for i8
impl TryFrom<&SqliteValue> for i8
Source§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SqliteValue
impl RefUnwindSafe for SqliteValue
impl Send for SqliteValue
impl Sync for SqliteValue
impl Unpin for SqliteValue
impl UnwindSafe for SqliteValue
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