pub trait FieldValue {
// Required methods
fn inspect(&self) -> Inspected;
fn db_value(&self) -> DbValue;
}Expand description
A value that can be validated. Implemented for strings, numbers, bool,
Option<T> and Vec<T>.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".