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

Serial
Bit

Tuple Fields of Bit

0: NumericAttr
TinyInt

Tuple Fields of TinyInt

0: NumericAttr
Bool
SmallInt

Tuple Fields of SmallInt

0: NumericAttr
MediumInt

Tuple Fields of MediumInt

0: NumericAttr
Int

Tuple Fields of Int

0: NumericAttr
BigInt

Tuple Fields of BigInt

0: NumericAttr
Decimal

Tuple Fields of Decimal

0: NumericAttr
Float

Tuple Fields of Float

0: NumericAttr
Double

Tuple Fields of Double

0: NumericAttr
Date
Time

Tuple Fields of Time

0: TimeAttr
DateTime

Tuple Fields of DateTime

0: TimeAttr
Timestamp

Tuple Fields of Timestamp

0: TimeAttr
Year
Char

Tuple Fields of Char

0: StringAttr
NChar

Tuple Fields of NChar

0: StringAttr
Varchar

Tuple Fields of Varchar

0: StringAttr
NVarchar

Tuple Fields of NVarchar

0: StringAttr
Binary

Tuple Fields of Binary

0: StringAttr
Varbinary

Tuple Fields of Varbinary

0: StringAttr
Text

Tuple Fields of Text

0: StringAttr
TinyText

Tuple Fields of TinyText

0: StringAttr
MediumText

Tuple Fields of MediumText

0: StringAttr
LongText

Tuple Fields of LongText

0: StringAttr
Blob

Tuple Fields of Blob

0: BlobAttr
TinyBlob
MediumBlob
LongBlob
Enum

Tuple Fields of Enum

0: EnumDef
Set

Tuple Fields of Set

0: SetDef
Geometry

Tuple Fields of Geometry

0: GeometryAttr
Point

Tuple Fields of Point

0: GeometryAttr
LineString

Tuple Fields of LineString

0: GeometryAttr
Polygon

Tuple Fields of Polygon

0: GeometryAttr
MultiPoint

Tuple Fields of MultiPoint

0: GeometryAttr
MultiLineString

Tuple Fields of MultiLineString

0: GeometryAttr
MultiPolygon

Tuple Fields of MultiPolygon

0: GeometryAttr
GeometryCollection

Tuple Fields of GeometryCollection

0: GeometryAttr
Json
Unknown

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.