Trait UIntType

Source
pub trait UIntType: Sealed + Display {
    type Uint: Sealed + FromStr;
}
Expand description

Helper trait to define the underlying integer type for a given PgUint type. Used in the sqlx-pg-uint-macros crate to generate the necessary code for the UIntWrapper derive.

Not intended to be implemented by users, nor is it required to be used directly.

Required Associated Types§

Source

type Uint: Sealed + FromStr

The underlying integer type for the PgUint type.

Implementors§