Struct postgres_types::Type
source · pub struct Type(/* private fields */);
Expand description
A Postgres type.
Implementations§
source§impl Type
impl Type
sourcepub const INT2_VECTOR: Type = _
pub const INT2_VECTOR: Type = _
INT2VECTOR - array of int2, used in system tables
sourcepub const OID_VECTOR: Type = _
pub const OID_VECTOR: Type = _
OIDVECTOR - array of oids, used in system tables
sourcepub const PG_DDL_COMMAND: Type = _
pub const PG_DDL_COMMAND: Type = _
PG_DDL_COMMAND - internal type for passing CollectedCommand
sourcepub const PG_NODE_TREE: Type = _
pub const PG_NODE_TREE: Type = _
PG_NODE_TREE - string representing an internal node tree
sourcepub const JSON_ARRAY: Type = _
pub const JSON_ARRAY: Type = _
JSON[]
sourcepub const TABLE_AM_HANDLER: Type = _
pub const TABLE_AM_HANDLER: Type = _
TABLE_AM_HANDLER
sourcepub const XID8_ARRAY: Type = _
pub const XID8_ARRAY: Type = _
XID8[]
sourcepub const INDEX_AM_HANDLER: Type = _
pub const INDEX_AM_HANDLER: Type = _
INDEX_AM_HANDLER - pseudo-type for the result of an index AM handler function
sourcepub const LINE_ARRAY: Type = _
pub const LINE_ARRAY: Type = _
LINE[]
sourcepub const CIDR_ARRAY: Type = _
pub const CIDR_ARRAY: Type = _
CIDR[]
sourcepub const CIRCLE_ARRAY: Type = _
pub const CIRCLE_ARRAY: Type = _
CIRCLE[]
sourcepub const MACADDR8_ARRAY: Type = _
pub const MACADDR8_ARRAY: Type = _
MACADDR8[]
sourcepub const MONEY_ARRAY: Type = _
pub const MONEY_ARRAY: Type = _
MONEY[]
sourcepub const BOOL_ARRAY: Type = _
pub const BOOL_ARRAY: Type = _
BOOL[]
sourcepub const BYTEA_ARRAY: Type = _
pub const BYTEA_ARRAY: Type = _
BYTEA[]
sourcepub const CHAR_ARRAY: Type = _
pub const CHAR_ARRAY: Type = _
CHAR[]
sourcepub const NAME_ARRAY: Type = _
pub const NAME_ARRAY: Type = _
NAME[]
sourcepub const INT2_ARRAY: Type = _
pub const INT2_ARRAY: Type = _
INT2[]
sourcepub const INT2_VECTOR_ARRAY: Type = _
pub const INT2_VECTOR_ARRAY: Type = _
INT2VECTOR[]
sourcepub const INT4_ARRAY: Type = _
pub const INT4_ARRAY: Type = _
INT4[]
sourcepub const REGPROC_ARRAY: Type = _
pub const REGPROC_ARRAY: Type = _
REGPROC[]
sourcepub const TEXT_ARRAY: Type = _
pub const TEXT_ARRAY: Type = _
TEXT[]
sourcepub const OID_VECTOR_ARRAY: Type = _
pub const OID_VECTOR_ARRAY: Type = _
OIDVECTOR[]
sourcepub const BPCHAR_ARRAY: Type = _
pub const BPCHAR_ARRAY: Type = _
BPCHAR[]
sourcepub const VARCHAR_ARRAY: Type = _
pub const VARCHAR_ARRAY: Type = _
VARCHAR[]
sourcepub const INT8_ARRAY: Type = _
pub const INT8_ARRAY: Type = _
INT8[]
sourcepub const POINT_ARRAY: Type = _
pub const POINT_ARRAY: Type = _
POINT[]
sourcepub const LSEG_ARRAY: Type = _
pub const LSEG_ARRAY: Type = _
LSEG[]
sourcepub const PATH_ARRAY: Type = _
pub const PATH_ARRAY: Type = _
PATH[]
sourcepub const FLOAT4_ARRAY: Type = _
pub const FLOAT4_ARRAY: Type = _
FLOAT4[]
sourcepub const FLOAT8_ARRAY: Type = _
pub const FLOAT8_ARRAY: Type = _
FLOAT8[]
sourcepub const POLYGON_ARRAY: Type = _
pub const POLYGON_ARRAY: Type = _
POLYGON[]
sourcepub const ACLITEM_ARRAY: Type = _
pub const ACLITEM_ARRAY: Type = _
ACLITEM[]
sourcepub const MACADDR_ARRAY: Type = _
pub const MACADDR_ARRAY: Type = _
MACADDR[]
sourcepub const INET_ARRAY: Type = _
pub const INET_ARRAY: Type = _
INET[]
sourcepub const VARCHAR: Type = _
pub const VARCHAR: Type = _
VARCHAR - varchar(length), non-blank-padded string, variable storage length
sourcepub const TIMESTAMP_ARRAY: Type = _
pub const TIMESTAMP_ARRAY: Type = _
TIMESTAMP[]
sourcepub const DATE_ARRAY: Type = _
pub const DATE_ARRAY: Type = _
DATE[]
sourcepub const TIME_ARRAY: Type = _
pub const TIME_ARRAY: Type = _
TIME[]
sourcepub const TIMESTAMPTZ: Type = _
pub const TIMESTAMPTZ: Type = _
TIMESTAMPTZ - date and time with time zone
sourcepub const TIMESTAMPTZ_ARRAY: Type = _
pub const TIMESTAMPTZ_ARRAY: Type = _
TIMESTAMPTZ[]
sourcepub const INTERVAL_ARRAY: Type = _
pub const INTERVAL_ARRAY: Type = _
INTERVAL[]
sourcepub const NUMERIC_ARRAY: Type = _
pub const NUMERIC_ARRAY: Type = _
NUMERIC[]
sourcepub const CSTRING_ARRAY: Type = _
pub const CSTRING_ARRAY: Type = _
CSTRING[]
sourcepub const TIMETZ_ARRAY: Type = _
pub const TIMETZ_ARRAY: Type = _
TIMETZ[]
sourcepub const VARBIT_ARRAY: Type = _
pub const VARBIT_ARRAY: Type = _
VARBIT[]
sourcepub const REFCURSOR_ARRAY: Type = _
pub const REFCURSOR_ARRAY: Type = _
REFCURSOR[]
sourcepub const REGPROCEDURE: Type = _
pub const REGPROCEDURE: Type = _
REGPROCEDURE - registered procedure (with args)
sourcepub const REGOPERATOR: Type = _
pub const REGOPERATOR: Type = _
REGOPERATOR - registered operator (with args)
sourcepub const REGPROCEDURE_ARRAY: Type = _
pub const REGPROCEDURE_ARRAY: Type = _
REGPROCEDURE[]
sourcepub const REGOPER_ARRAY: Type = _
pub const REGOPER_ARRAY: Type = _
REGOPER[]
sourcepub const REGOPERATOR_ARRAY: Type = _
pub const REGOPERATOR_ARRAY: Type = _
REGOPERATOR[]
sourcepub const REGCLASS_ARRAY: Type = _
pub const REGCLASS_ARRAY: Type = _
REGCLASS[]
sourcepub const REGTYPE_ARRAY: Type = _
pub const REGTYPE_ARRAY: Type = _
REGTYPE[]
sourcepub const LANGUAGE_HANDLER: Type = _
pub const LANGUAGE_HANDLER: Type = _
LANGUAGE_HANDLER - pseudo-type for the result of a language handler function
sourcepub const ANYELEMENT: Type = _
pub const ANYELEMENT: Type = _
ANYELEMENT - pseudo-type representing a polymorphic base type
sourcepub const RECORD_ARRAY: Type = _
pub const RECORD_ARRAY: Type = _
RECORD[]
sourcepub const ANYNONARRAY: Type = _
pub const ANYNONARRAY: Type = _
ANYNONARRAY - pseudo-type representing a polymorphic base type that is not an array
sourcepub const TXID_SNAPSHOT_ARRAY: Type = _
pub const TXID_SNAPSHOT_ARRAY: Type = _
TXID_SNAPSHOT[]
sourcepub const UUID_ARRAY: Type = _
pub const UUID_ARRAY: Type = _
UUID[]
sourcepub const TXID_SNAPSHOT: Type = _
pub const TXID_SNAPSHOT: Type = _
TXID_SNAPSHOT - txid snapshot
sourcepub const FDW_HANDLER: Type = _
pub const FDW_HANDLER: Type = _
FDW_HANDLER - pseudo-type for the result of an FDW handler function
sourcepub const PG_LSN_ARRAY: Type = _
pub const PG_LSN_ARRAY: Type = _
PG_LSN[]
sourcepub const TSM_HANDLER: Type = _
pub const TSM_HANDLER: Type = _
TSM_HANDLER - pseudo-type for the result of a tablesample method function
sourcepub const PG_NDISTINCT: Type = _
pub const PG_NDISTINCT: Type = _
PG_NDISTINCT - multivariate ndistinct coefficients
sourcepub const PG_DEPENDENCIES: Type = _
pub const PG_DEPENDENCIES: Type = _
PG_DEPENDENCIES - multivariate dependencies
sourcepub const ANYENUM: Type = _
pub const ANYENUM: Type = _
ANYENUM - pseudo-type representing a polymorphic base type that is an enum
sourcepub const GTS_VECTOR: Type = _
pub const GTS_VECTOR: Type = _
GTSVECTOR - GiST index internal text representation for text search
sourcepub const TS_VECTOR_ARRAY: Type = _
pub const TS_VECTOR_ARRAY: Type = _
TSVECTOR[]
sourcepub const GTS_VECTOR_ARRAY: Type = _
pub const GTS_VECTOR_ARRAY: Type = _
GTSVECTOR[]
sourcepub const TSQUERY_ARRAY: Type = _
pub const TSQUERY_ARRAY: Type = _
TSQUERY[]
sourcepub const REGCONFIG_ARRAY: Type = _
pub const REGCONFIG_ARRAY: Type = _
REGCONFIG[]
sourcepub const REGDICTIONARY: Type = _
pub const REGDICTIONARY: Type = _
REGDICTIONARY - registered text search dictionary
sourcepub const REGDICTIONARY_ARRAY: Type = _
pub const REGDICTIONARY_ARRAY: Type = _
REGDICTIONARY[]
sourcepub const JSONB_ARRAY: Type = _
pub const JSONB_ARRAY: Type = _
JSONB[]
sourcepub const ANY_RANGE: Type = _
pub const ANY_RANGE: Type = _
ANYRANGE - pseudo-type representing a range over a polymorphic base type
sourcepub const EVENT_TRIGGER: Type = _
pub const EVENT_TRIGGER: Type = _
EVENT_TRIGGER - pseudo-type for the result of an event trigger function
sourcepub const INT4_RANGE: Type = _
pub const INT4_RANGE: Type = _
INT4RANGE - range of integers
sourcepub const INT4_RANGE_ARRAY: Type = _
pub const INT4_RANGE_ARRAY: Type = _
INT4RANGE[]
sourcepub const NUM_RANGE_ARRAY: Type = _
pub const NUM_RANGE_ARRAY: Type = _
NUMRANGE[]
sourcepub const TS_RANGE_ARRAY: Type = _
pub const TS_RANGE_ARRAY: Type = _
TSRANGE[]
sourcepub const TSTZ_RANGE: Type = _
pub const TSTZ_RANGE: Type = _
TSTZRANGE - range of timestamps with time zone
sourcepub const TSTZ_RANGE_ARRAY: Type = _
pub const TSTZ_RANGE_ARRAY: Type = _
TSTZRANGE[]
sourcepub const DATE_RANGE: Type = _
pub const DATE_RANGE: Type = _
DATERANGE - range of dates
sourcepub const DATE_RANGE_ARRAY: Type = _
pub const DATE_RANGE_ARRAY: Type = _
DATERANGE[]
sourcepub const INT8_RANGE: Type = _
pub const INT8_RANGE: Type = _
INT8RANGE - range of bigints
sourcepub const INT8_RANGE_ARRAY: Type = _
pub const INT8_RANGE_ARRAY: Type = _
INT8RANGE[]
sourcepub const JSONPATH_ARRAY: Type = _
pub const JSONPATH_ARRAY: Type = _
JSONPATH[]
sourcepub const REGNAMESPACE: Type = _
pub const REGNAMESPACE: Type = _
REGNAMESPACE - registered namespace
sourcepub const REGNAMESPACE_ARRAY: Type = _
pub const REGNAMESPACE_ARRAY: Type = _
REGNAMESPACE[]
sourcepub const REGROLE_ARRAY: Type = _
pub const REGROLE_ARRAY: Type = _
REGROLE[]
sourcepub const REGCOLLATION: Type = _
pub const REGCOLLATION: Type = _
REGCOLLATION - registered collation
sourcepub const REGCOLLATION_ARRAY: Type = _
pub const REGCOLLATION_ARRAY: Type = _
REGCOLLATION[]
sourcepub const INT4MULTI_RANGE: Type = _
pub const INT4MULTI_RANGE: Type = _
INT4MULTIRANGE - multirange of integers
sourcepub const NUMMULTI_RANGE: Type = _
pub const NUMMULTI_RANGE: Type = _
NUMMULTIRANGE - multirange of numerics
sourcepub const TSMULTI_RANGE: Type = _
pub const TSMULTI_RANGE: Type = _
TSMULTIRANGE - multirange of timestamps without time zone
sourcepub const TSTZMULTI_RANGE: Type = _
pub const TSTZMULTI_RANGE: Type = _
TSTZMULTIRANGE - multirange of timestamps with time zone
sourcepub const DATEMULTI_RANGE: Type = _
pub const DATEMULTI_RANGE: Type = _
DATEMULTIRANGE - multirange of dates
sourcepub const INT8MULTI_RANGE: Type = _
pub const INT8MULTI_RANGE: Type = _
INT8MULTIRANGE - multirange of bigints
sourcepub const ANYMULTI_RANGE: Type = _
pub const ANYMULTI_RANGE: Type = _
ANYMULTIRANGE - pseudo-type representing a polymorphic base type that is a multirange
sourcepub const ANYCOMPATIBLEMULTI_RANGE: Type = _
pub const ANYCOMPATIBLEMULTI_RANGE: Type = _
ANYCOMPATIBLEMULTIRANGE - pseudo-type representing a multirange over a polymorphic common type
sourcepub const PG_BRIN_BLOOM_SUMMARY: Type = _
pub const PG_BRIN_BLOOM_SUMMARY: Type = _
PG_BRIN_BLOOM_SUMMARY - BRIN bloom summary
sourcepub const PG_BRIN_MINMAX_MULTI_SUMMARY: Type = _
pub const PG_BRIN_MINMAX_MULTI_SUMMARY: Type = _
PG_BRIN_MINMAX_MULTI_SUMMARY - BRIN minmax-multi summary
sourcepub const PG_MCV_LIST: Type = _
pub const PG_MCV_LIST: Type = _
PG_MCV_LIST - multivariate MCV list
sourcepub const PG_SNAPSHOT: Type = _
pub const PG_SNAPSHOT: Type = _
PG_SNAPSHOT - snapshot
sourcepub const PG_SNAPSHOT_ARRAY: Type = _
pub const PG_SNAPSHOT_ARRAY: Type = _
PG_SNAPSHOT[]
sourcepub const ANYCOMPATIBLE: Type = _
pub const ANYCOMPATIBLE: Type = _
ANYCOMPATIBLE - pseudo-type representing a polymorphic common type
sourcepub const ANYCOMPATIBLEARRAY: Type = _
pub const ANYCOMPATIBLEARRAY: Type = _
ANYCOMPATIBLEARRAY - pseudo-type representing an array of polymorphic common type elements
sourcepub const ANYCOMPATIBLENONARRAY: Type = _
pub const ANYCOMPATIBLENONARRAY: Type = _
ANYCOMPATIBLENONARRAY - pseudo-type representing a polymorphic common type that is not an array
sourcepub const ANYCOMPATIBLE_RANGE: Type = _
pub const ANYCOMPATIBLE_RANGE: Type = _
ANYCOMPATIBLERANGE - pseudo-type representing a range over a polymorphic common type
sourcepub const INT4MULTI_RANGE_ARRAY: Type = _
pub const INT4MULTI_RANGE_ARRAY: Type = _
INT4MULTIRANGE[]
sourcepub const NUMMULTI_RANGE_ARRAY: Type = _
pub const NUMMULTI_RANGE_ARRAY: Type = _
NUMMULTIRANGE[]
sourcepub const TSMULTI_RANGE_ARRAY: Type = _
pub const TSMULTI_RANGE_ARRAY: Type = _
TSMULTIRANGE[]
sourcepub const TSTZMULTI_RANGE_ARRAY: Type = _
pub const TSTZMULTI_RANGE_ARRAY: Type = _
TSTZMULTIRANGE[]
sourcepub const DATEMULTI_RANGE_ARRAY: Type = _
pub const DATEMULTI_RANGE_ARRAY: Type = _
DATEMULTIRANGE[]
sourcepub const INT8MULTI_RANGE_ARRAY: Type = _
pub const INT8MULTI_RANGE_ARRAY: Type = _
INT8MULTIRANGE[]
Trait Implementations§
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)