pub trait PostgresColumn<'a>: SQLColumn<'a, PostgresValue<'a>> {
const SERIAL: bool = false;
const BIGSERIAL: bool = false;
const GENERATED_IDENTITY: bool = false;
const IDENTITY_ALWAYS: bool = true;
}Provided Associated Constants§
const SERIAL: bool = false
const BIGSERIAL: bool = false
const GENERATED_IDENTITY: bool = false
Sourceconst IDENTITY_ALWAYS: bool = true
const IDENTITY_ALWAYS: bool = true
true = GENERATED ALWAYS AS IDENTITY, false = GENERATED BY DEFAULT AS IDENTITY.
Only meaningful when GENERATED_IDENTITY is true.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".