pub trait ActiveEnumValue:
Into<Value>
+ ValueType
+ Nullable
+ TryGetable {
// Required method
fn try_get_vec_by<I: ColIdx>(
res: &QueryResult,
index: I,
) -> Result<Vec<Self>, TryGetError>;
}
Expand description
The Rust Value backing ActiveEnums
Required Methodsยง
Sourcefn try_get_vec_by<I: ColIdx>(
res: &QueryResult,
index: I,
) -> Result<Vec<Self>, TryGetError>
fn try_get_vec_by<I: ColIdx>( res: &QueryResult, index: I, ) -> Result<Vec<Self>, TryGetError>
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", so this trait is not object safe.