Skip to main content

Module cell

Module cell 

Source
Expand description

The cell types a table holds, the raw values a row hands over, and the mapping from Rust types to cell types.

Structs§

Decimal
An exact decimal: unscaled * 10^-scale, up to 38 digits. The i128 reaches the 38 digits common decimal crates do not.
Numeric

Enums§

CellType
The type of the data in a cell, with no database or file format: each consumer projects it to its own column type.
DecimalError
RawValue
One cell as a row hands it over: not validated against a schema.

Constants§

MAX_PRECISION
Most digits a decimal holds.
MAX_SCALE
Most digits after the point a decimal holds.

Traits§

FieldType
The cell type a Rust type is stored as, and whether it accepts nulls.
IntoValue
How a Rust value is handed over as a cell.
KeyField
The Rust types a key column can have: non-null scalars.

Functions§

valid_decimal