Skip to main content

JsonIndex

Trait JsonIndex 

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl JsonIndex for String

Source§

impl JsonIndex for i32

Source§

impl<'a> JsonIndex for &'a str

Implementors§

Source§

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