pub enum PgType {
Boolean,
Smallint,
Integer,
Bigint,
Numeric,
Text,
Varchar,
Bpchar,
Date,
Timestamp,
TimestampTz,
}Expand description
A type PostgreSQL names in a cast’s error.
Variants§
Boolean
boolean.
Smallint
smallint.
Integer
integer.
Bigint
bigint.
Numeric
numeric.
Text
text.
Varchar
character varying.
Bpchar
character.
Date
date.
Timestamp
timestamp without time zone.
TimestampTz
timestamp with time zone.
Trait Implementations§
impl Copy for PgType
impl Eq for PgType
impl StructuralPartialEq for PgType
Auto Trait Implementations§
impl Forget for PgType
impl Freeze for PgType
impl RefUnwindSafe for PgType
impl Send for PgType
impl Sync for PgType
impl Unpin for PgType
impl UnsafeUnpin for PgType
impl UnwindSafe for PgType
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
Mutably borrows from an owned value. Read more