ArrayValue

Trait ArrayValue 

Source
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ยง

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.

Implementations on Foreign Typesยง

Sourceยง

impl ArrayValue for bool

Sourceยง

impl ArrayValue for char

Sourceยง

impl ArrayValue for f32

Sourceยง

impl ArrayValue for f64

Sourceยง

impl ArrayValue for i8

Sourceยง

impl ArrayValue for i16

Sourceยง

impl ArrayValue for i32

Sourceยง

impl ArrayValue for i64

Sourceยง

impl ArrayValue for u8

Sourceยง

impl ArrayValue for u16

Sourceยง

impl ArrayValue for u32

Sourceยง

impl ArrayValue for u64

Sourceยง

impl ArrayValue for String

Sourceยง

impl ArrayValue for Vec<u8>

Sourceยง

impl ArrayValue for Date

Sourceยง

impl ArrayValue for DateTime

Sourceยง

impl ArrayValue for Time

Sourceยง

impl ArrayValue for Date

Sourceยง

impl ArrayValue for Time

Implementorsยง