Enum sea_schema::postgres::def::Type [−][src]
pub enum Type {
Show 48 variants
SmallInt,
Integer,
BigInt,
Decimal(ArbitraryPrecisionNumericAttr),
Numeric(ArbitraryPrecisionNumericAttr),
Real,
DoublePrecision,
SmallSerial,
Serial,
BigSerial,
Money,
Varchar(StringAttr),
Char(StringAttr),
Text,
Bytea,
Timestamp(TimeAttr),
TimestampWithTimeZone(TimeAttr),
Date,
Time(TimeAttr),
TimeWithTimeZone(TimeAttr),
Interval(IntervalAttr),
Boolean,
Point,
Line,
Lseg,
Box,
Path,
Polygon,
Circle,
Cidr,
Inet,
MacAddr,
MacAddr8,
Bit(BitAttr),
TsVector,
TsQuery,
Uuid,
Xml,
Json,
Array,
Int4Range,
Int8Range,
NumRange,
TsRange,
TsTzRange,
DateRange,
PgLsn,
Unknown(String),
}
postgres
and def
only.Expand description
All built-in types of PostgreSQL, excluding synonyms
Variants
16 bit integer
32 bit integer
64 bit integer
User-specified precision number
Tuple Fields of Decimal
User-specified precision number
Tuple Fields of Numeric
32 bit floating-point
64 bit floating-point
16 bit autoincrementing integer
32 bit autoincrementing integer
64 bit autoincrementing integer
Currency amount; 64 bits with a fractional precision determined by the database’s lc_monetary setting
Variable-length character array with limit
Tuple Fields of Varchar
0: StringAttr
Fixed-length character array; blank padded
Tuple Fields of Char
0: StringAttr
Variable, unlimited length character array
Variable length binary string
Date and time
Tuple Fields of Timestamp
0: TimeAttr
Tuple Fields of TimestampWithTimeZone
0: TimeAttr
Date without time of day
Time without date
Tuple Fields of Time
0: TimeAttr
Tuple Fields of TimeWithTimeZone
0: TimeAttr
Time interval
Tuple Fields of Interval
0: IntervalAttr
One byte boolean value
Point on a plane
Infinite line
Finite line segment
Rectangular box
Closed or open path
Polygon (similar to a closed path)
Circle composed of a center point and radius
IPv4 and IPv6 networks
IPPv4 and IPv6 hosts and networks
6 byte MAC address
8 byte MAC address in EUI-64 format
Fixed length bit string
Tuple Fields of Bit
0: BitAttr
A sorted list of distincp lexemes which are words that have been normalized to merge different variants of the same word
A list of lexemes that are to be searched for, and can be combined using Boolean operators AND, OR, and NOT, as well as a phrase search operation
A universally unique identifier as defined by RFC 4122, ISO 9834-8:2005, and related standards
XML data checked for well-formedness and with additonal support functions
JSON data checked for validity and with additional functions
Variable-length multidimensional array
Range of an integer
Range of a bigint
Range of a numeric
Range of a timestamp without time zone
Range of a timestamp with time zone
Range of a date
A log sequence number
Tuple Fields of Unknown
0: String
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more