Enum postgres_util::PgScalarType [−][src]
pub enum PgScalarType {
Simple(PgType),
Numeric(Option<PgNumericMod>),
NumericArray(Option<PgNumericMod>),
BPChar {
length: i32,
},
BPCharArray {
length: i32,
},
VarChar {
length: i32,
},
VarCharArray {
length: i32,
},
}
Variants
Simple(PgType)
Tuple Fields
0: PgType
Numeric(Option<PgNumericMod>)
Tuple Fields
0: Option<PgNumericMod>
Represents a numeric
type with optional scale and presicion
NumericArray(Option<PgNumericMod>)
Tuple Fields
0: Option<PgNumericMod>
Represents a numeric
array type with optional scale and presicion
BPChar
Fields
length: i32
BPCharArray
Fields
length: i32
VarChar
Fields
length: i32
VarCharArray
Fields
length: i32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PgScalarType
impl Send for PgScalarType
impl Sync for PgScalarType
impl Unpin for PgScalarType
impl UnwindSafe for PgScalarType
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more