pub trait ArrayValue: Sealed + Sized {
// Required method
fn array_type() -> ArrayType;
}Available on crate feature
postgres-array only.Expand description
Internal helper trait used by ArrayElement to build Array without specialization.
This trait is sealed and not intended to be implemented by downstream crates. To support a
custom array element type, implement ArrayElement and set ArrayValueType to one of the
built-in array value types supported by SeaQuery.
Required Methodsยง
fn array_type() -> ArrayType
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.