Skip to main content

MariadbType

Type Alias MariadbType 

Source
pub type MariadbType = MysqlType;
Available on crate feature mariadb_backend only.
Expand description

Represents possible types, that can be transmitted as via the Mysql wire protocol

Aliased Type§

pub enum MariadbType {
Show 20 variants Tiny, UnsignedTiny, Short, UnsignedShort, Long, UnsignedLong, LongLong, UnsignedLongLong, Float, Double, Numeric, Time, Date, DateTime, Timestamp, String, Blob, Bit, Set, Enum,
}

Variants§

§

Tiny

A 8 bit signed integer

§

UnsignedTiny

A 8 bit unsigned integer

§

Short

A 16 bit signed integer

§

UnsignedShort

A 16 bit unsigned integer

§

Long

A 32 bit signed integer

§

UnsignedLong

A 32 bit unsigned integer

§

LongLong

A 64 bit signed integer

§

UnsignedLongLong

A 64 bit unsigned integer

§

Float

A 32 bit floating point number

§

Double

A 64 bit floating point number

§

Numeric

A fixed point decimal value

§

Time

A datatype to store a time value

§

Date

A datatype to store a date value

§

DateTime

A datatype containing timestamp values ranging from ‘1000-01-01 00:00:00’ to ‘9999-12-31 23:59:59’.

§

Timestamp

A datatype containing timestamp values ranging from 1970-01-01 00:00:01’ UTC to ‘2038-01-19 03:14:07’ UTC.

§

String

A datatype for string values

§

Blob

A datatype containing binary large objects

§

Bit

A value containing a set of bit’s

§

Set

A user defined set type

§

Enum

A user defined enum type