pub enum FieldType {
}Expand description
A field type in a model.
Variants§
String
String type.
Boolean
Boolean type.
Int
Int type (32-bit).
BigInt
BigInt type (64-bit).
Float
Float type.
Decimal
Decimal type with precision and scale.
DateTime
DateTime type.
Bytes
Bytes type.
Json
JSON type.
Uuid
UUID type.
Jsonb
JSONB type (PostgreSQL only).
Xml
XML type (PostgreSQL only).
Char
Fixed-length character type.
VarChar
Variable-length character type.
UserType(String)
User-defined type (model or enum reference).
Trait Implementations§
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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