Enum sqlsync_reducer::types::SqliteValue
source · 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
§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
source§impl TryFrom<&SqliteValue> for String
impl TryFrom<&SqliteValue> for String
§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>
§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
§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
§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
§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
§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
§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
§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
§type Error = ReducerError
type Error = ReducerError
The type returned in the event of a conversion error.
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§
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