ArrayValue

Trait ArrayValue 

Source
pub trait ArrayValue: Sized { }
Available on crate feature postgres-array only.
Expand description

Helper trait for types that can be stored inside a Postgres array Array.

This is used by ArrayElement to build Array without causing deep trait resolution.

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.

Implementors§

Source§

impl<T> ArrayValue for T
where Vec<Option<T>>: Into<Array>,