#[non_exhaustive]pub enum Value<'a> {
}
Expand description
A SQL type and value
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Decimal(&'a [u8])
I8(i8)
I16(i16)
Long(i64)
LongLong(i64)
F32(f32)
F64(f64)
Null
Time
TimeStamp
Date
DateTime
Year
String(&'a [u8])
Blob(&'a [u8])
Json(&'a [u8])
Implementations§
Trait Implementations§
impl<'a> Copy for Value<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> Send for Value<'a>
impl<'a> Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnwindSafe for Value<'a>
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