pub enum DatabaseValue {
Null,
Bool(bool),
Int(i64),
UInt(u64),
Real(f64),
Text(String),
Blob(Vec<u8>),
}Variants§
Trait Implementations§
Source§impl Clone for DatabaseValue
impl Clone for DatabaseValue
Source§fn clone(&self) -> DatabaseValue
fn clone(&self) -> DatabaseValue
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 DatabaseValue
impl Debug for DatabaseValue
Source§impl From<&DatabaseValue> for DatabaseValue
impl From<&DatabaseValue> for DatabaseValue
Source§fn from(v: &DatabaseValue) -> Self
fn from(v: &DatabaseValue) -> Self
Converts to this type from the input type.
Source§impl From<&str> for DatabaseValue
impl From<&str> for DatabaseValue
Source§impl<T> From<Option<T>> for DatabaseValuewhere
T: Into<DatabaseValue>,
impl<T> From<Option<T>> for DatabaseValuewhere
T: Into<DatabaseValue>,
Source§impl From<String> for DatabaseValue
impl From<String> for DatabaseValue
Source§impl From<bool> for DatabaseValue
impl From<bool> for DatabaseValue
Source§impl From<f64> for DatabaseValue
impl From<f64> for DatabaseValue
Source§impl From<i32> for DatabaseValue
impl From<i32> for DatabaseValue
Source§impl From<i64> for DatabaseValue
impl From<i64> for DatabaseValue
Source§impl From<u32> for DatabaseValue
impl From<u32> for DatabaseValue
Auto Trait Implementations§
impl Freeze for DatabaseValue
impl RefUnwindSafe for DatabaseValue
impl Send for DatabaseValue
impl Sync for DatabaseValue
impl Unpin for DatabaseValue
impl UnsafeUnpin for DatabaseValue
impl UnwindSafe for DatabaseValue
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