Enum sea_schema::mysql::def::Type [−][src]
pub enum Type {
Show 42 variants
Serial,
Bit(NumericAttr),
TinyInt(NumericAttr),
Bool,
SmallInt(NumericAttr),
MediumInt(NumericAttr),
Int(NumericAttr),
BigInt(NumericAttr),
Decimal(NumericAttr),
Float(NumericAttr),
Double(NumericAttr),
Date,
Time(TimeAttr),
DateTime(TimeAttr),
Timestamp(TimeAttr),
Year,
Char(StringAttr),
NChar(StringAttr),
Varchar(StringAttr),
NVarchar(StringAttr),
Binary(StringAttr),
Varbinary(StringAttr),
Text(StringAttr),
TinyText(StringAttr),
MediumText(StringAttr),
LongText(StringAttr),
Blob(BlobAttr),
TinyBlob,
MediumBlob,
LongBlob,
Enum(EnumDef),
Set(SetDef),
Geometry(GeometryAttr),
Point(GeometryAttr),
LineString(GeometryAttr),
Polygon(GeometryAttr),
MultiPoint(GeometryAttr),
MultiLineString(GeometryAttr),
MultiPolygon(GeometryAttr),
GeometryCollection(GeometryAttr),
Json,
Unknown(String),
}
This is supported on crate features
mysql
and def
only.Expand description
All built-in types of MySQL, excluding synonyms
Variants
Tuple Fields of Bit
0: NumericAttr
Tuple Fields of TinyInt
0: NumericAttr
Tuple Fields of SmallInt
0: NumericAttr
Tuple Fields of MediumInt
0: NumericAttr
Tuple Fields of Int
0: NumericAttr
Tuple Fields of BigInt
0: NumericAttr
Tuple Fields of Decimal
0: NumericAttr
Tuple Fields of Float
0: NumericAttr
Tuple Fields of Double
0: NumericAttr
Tuple Fields of Time
0: TimeAttr
Tuple Fields of DateTime
0: TimeAttr
Tuple Fields of Timestamp
0: TimeAttr
Tuple Fields of Char
0: StringAttr
Tuple Fields of NChar
0: StringAttr
Tuple Fields of Varchar
0: StringAttr
Tuple Fields of NVarchar
0: StringAttr
Tuple Fields of Binary
0: StringAttr
Tuple Fields of Varbinary
0: StringAttr
Tuple Fields of Text
0: StringAttr
Tuple Fields of TinyText
0: StringAttr
Tuple Fields of MediumText
0: StringAttr
Tuple Fields of LongText
0: StringAttr
Tuple Fields of Blob
0: BlobAttr
Tuple Fields of Enum
0: EnumDef
Tuple Fields of Set
0: SetDef
Tuple Fields of Geometry
0: GeometryAttr
Tuple Fields of Point
0: GeometryAttr
Tuple Fields of LineString
0: GeometryAttr
Tuple Fields of Polygon
0: GeometryAttr
Tuple Fields of MultiPoint
0: GeometryAttr
Tuple Fields of MultiLineString
0: GeometryAttr
Tuple Fields of MultiPolygon
0: GeometryAttr
Tuple Fields of GeometryCollection
0: GeometryAttr
Tuple Fields of Unknown
0: String
Implementations
This is supported on crate feature
writer
only.This is supported on crate feature
writer
only.This is supported on crate feature
writer
only.This is supported on crate feature
writer
only.This is supported on crate feature
writer
only.This is supported on crate feature
writer
only.This is supported on crate feature
writer
only.Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more