Skip to main content

FilterKey

Trait FilterKey 

Source
pub trait FilterKey:
    FormScalar
    + IntoExpr<Self>
    + Send
    + Sync
    + 'static { }
Expand description

A field type a SelectFilter matches: one the form parses that compares as itself, such as a foreign key’s.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> FilterKey for T
where T: FormScalar + IntoExpr<T> + Send + Sync + 'static,