pub enum DatabaseValue {
Integer(i64),
Text(String),
Binary(Vec<u8>),
Boolean(bool),
DateTime(OffsetDateTime),
Null,
}Expand description
Values bound to SQL placeholders.
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 (const: unstable) · 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 PartialEq for DatabaseValue
impl PartialEq for DatabaseValue
impl StructuralPartialEq 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