ExactNumberInfo in sqlparser::ast - Rust

Skip to main content

Enum ExactNumberInfo 

Source

pub enum ExactNumberInfo {
    None,
    Precision(u64),
    PrecisionAndScale(u64, i64),
}
Expand description

Additional information for NUMERIC, DECIMAL, and DEC data types following the 2016 SQL Standard.

Variants§

§

None

No additional information, e.g. DECIMAL.

§

Precision(u64)

Only precision information, e.g. DECIMAL(10).

§

PrecisionAndScale(u64, i64)

Precision and scale information, e.g. DECIMAL(10,2).

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for ExactNumberInfo

§

impl RefUnwindSafe for ExactNumberInfo

§

impl Send for ExactNumberInfo

§

impl Sync for ExactNumberInfo

§

impl Unpin for ExactNumberInfo

§

impl UnwindSafe for ExactNumberInfo

Blanket Implementations§