#[non_exhaustive]#[repr(u16)]pub enum ValueType {
Show 22 variants
NoType = 0,
Int = 1,
Long = 2,
Real = 3,
Double = 4,
Decimal = 5,
String = 6,
Boolean = 7,
Any = 8,
Uint = 9,
Ulong = 10,
Blob = 11,
Date = 12,
Time = 13,
DateTime = 14,
Dummy1 = 15,
Dummy2 = 16,
Dummy3 = 17,
Char = 18,
Dummy4 = 19,
LongLong = 20,
Byte = 21,
}
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.
NoType = 0
Int = 1
Long = 2
Real = 3
Double = 4
Decimal = 5
String = 6
Boolean = 7
Any = 8
Uint = 9
Ulong = 10
Blob = 11
Date = 12
Time = 13
DateTime = 14
Dummy1 = 15
Dummy2 = 16
Dummy3 = 17
Char = 18
Dummy4 = 19
LongLong = 20
Byte = 21
Implementations§
Source§impl ValueType
impl ValueType
pub fn into_obinfo_value(self) -> ObInfo
pub fn into_obinfo_readonly(self) -> ObInfo
pub fn into_obinfo_ref(self) -> ObInfo
pub fn into_obinfo_null(self) -> ObInfo
Trait Implementations§
Source§impl TryFromPrimitive for ValueType
impl TryFromPrimitive for ValueType
impl Copy for ValueType
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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