Skip to main content

QueryField

Trait QueryField 

Source
pub trait QueryField: Display + for<'a> TryFrom<&'a str> { }
Expand description

Helper trait combining common bounds for API query field types

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.

Implementors§

Source§

impl<T> QueryField for T
where T: Display + for<'a> TryFrom<&'a str>,

Blanket implementation for all types that satisfy the bounds