pub enum ArrayType {
Show 14 variants
Bool,
TinyInt,
SmallInt,
Int,
BigInt,
TinyUnsigned,
SmallUnsigned,
Unsigned,
BigUnsigned,
Float,
Double,
String,
Char,
Bytes,
}Expand description
Represents the element type of an array value.
This enum is used to track the type of elements in a SQL array, which is important for proper SQL generation in backends that support typed arrays (e.g., PostgreSQL).
Variants§
Bool
Boolean array
TinyInt
8-bit signed integer array
SmallInt
16-bit signed integer array
Int
32-bit signed integer array
BigInt
64-bit signed integer array
TinyUnsigned
8-bit unsigned integer array
SmallUnsigned
16-bit unsigned integer array
Unsigned
32-bit unsigned integer array
BigUnsigned
64-bit unsigned integer array
Float
32-bit floating point array
Double
64-bit floating point array
String
String array
Char
Character array
Bytes
Binary data array
Trait Implementations§
impl Eq for ArrayType
impl StructuralPartialEq for ArrayType
Auto Trait Implementations§
impl Freeze for ArrayType
impl RefUnwindSafe for ArrayType
impl Send for ArrayType
impl Sync for ArrayType
impl Unpin for ArrayType
impl UnsafeUnpin for ArrayType
impl UnwindSafe for ArrayType
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