pub enum PgBuiltInType {
Show 23 variants
Text,
Bool,
SmallInt,
Integer,
BigInt,
Numeric,
Real,
DoublePrecision,
Varchar,
Char,
Bytea,
Date,
Time,
Timestamp,
TimestampTz,
Uuid,
Json,
Jsonb,
Inet,
Cidr,
Macaddr,
Macaddr8,
Array,
}Expand description
Common PostgreSQL built-in type labels.
Variants§
Text
Bool
SmallInt
Integer
BigInt
Numeric
Real
DoublePrecision
Varchar
Char
Bytea
Date
Time
Timestamp
TimestampTz
Uuid
Json
Jsonb
Inet
Cidr
Macaddr
Macaddr8
Array
Implementations§
Source§impl PgBuiltInType
impl PgBuiltInType
Trait Implementations§
Source§impl Clone for PgBuiltInType
impl Clone for PgBuiltInType
Source§fn clone(&self) -> PgBuiltInType
fn clone(&self) -> PgBuiltInType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PgBuiltInType
impl Debug for PgBuiltInType
Source§impl Default for PgBuiltInType
impl Default for PgBuiltInType
Source§fn default() -> PgBuiltInType
fn default() -> PgBuiltInType
Returns the “default value” for a type. Read more
Source§impl Display for PgBuiltInType
impl Display for PgBuiltInType
Source§impl FromStr for PgBuiltInType
impl FromStr for PgBuiltInType
Source§impl Hash for PgBuiltInType
impl Hash for PgBuiltInType
Source§impl Ord for PgBuiltInType
impl Ord for PgBuiltInType
Source§fn cmp(&self, other: &PgBuiltInType) -> Ordering
fn cmp(&self, other: &PgBuiltInType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PgBuiltInType
impl PartialEq for PgBuiltInType
Source§fn eq(&self, other: &PgBuiltInType) -> bool
fn eq(&self, other: &PgBuiltInType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PgBuiltInType
impl PartialOrd for PgBuiltInType
Source§impl TryFrom<&str> for PgBuiltInType
impl TryFrom<&str> for PgBuiltInType
impl Copy for PgBuiltInType
impl Eq for PgBuiltInType
impl StructuralPartialEq for PgBuiltInType
Auto Trait Implementations§
impl Freeze for PgBuiltInType
impl RefUnwindSafe for PgBuiltInType
impl Send for PgBuiltInType
impl Sync for PgBuiltInType
impl Unpin for PgBuiltInType
impl UnsafeUnpin for PgBuiltInType
impl UnwindSafe for PgBuiltInType
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