JsonIndex

Trait JsonIndex 

Source
pub trait JsonIndex: Sealed { }
Available on crate features sqlite or postgres_backend only.
Expand description

A marker trait indicating which types can be used as index into a json field

Implementations on Foreign Types§

Source§

impl JsonIndex for i32

Source§

impl JsonIndex for String

Source§

impl<'a> JsonIndex for &'a str

Implementors§

Source§

impl<T> JsonIndex for T
where T: Expression, T::SqlType: TextOrInteger,