Trait ActiveEnumValue
pub trait ActiveEnumValue:
Into<Value>
+ ValueType
+ Nullable
+ TryGetable {
// Required method
fn try_get_vec_by<I>(
res: &QueryResult,
index: I,
) -> Result<Vec<Self>, TryGetError>
where I: ColIdx;
}Expand description
The Rust Value backing ActiveEnums
Required Methods§
fn try_get_vec_by<I>(
res: &QueryResult,
index: I,
) -> Result<Vec<Self>, TryGetError>where
I: ColIdx,
fn try_get_vec_by<I>(
res: &QueryResult,
index: I,
) -> Result<Vec<Self>, TryGetError>where
I: ColIdx,
For getting an array of enum. Postgres only
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".