pub enum ExtendedColumnAffinity {
    Text,
    Integer,
    Real,
    Blob,
    Boolean,
    Json,
    Datetime,
    Date,
    Time,
    Numeric,
}
Expand description

A columns “extended affinity”. The traditional affinity does not include supplementary “types” that SQLite doesn’t support out of the box, like JSON, boolean, or datetime. This is an experimental extension to tradition affinities, and may change anytime.

Variants§

§

Text

“char”, “clob”, or “text”

§

Integer

“int”

§

Real

“real”, “floa”, or “doub”

§

Blob

“blob” or empty

§

Boolean

0 or 1

§

Json

§

Datetime

§

Date

§

Time

§

Numeric

else, no other matches

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.