pub trait FieldType {
const KIND: FieldKind;
const OPTIONAL: bool = false;
// Required method
fn to_value(&self) -> Value;
}Expand description
Types that can be model fields.
Required Associated Constants§
Provided Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl FieldType for Vec<f64>
A series of numbers kept in one field, such as the last weeks of sales of a product, for
sparkline cells. Stored as JSON.
impl FieldType for Vec<f64>
A series of numbers kept in one field, such as the last weeks of sales of a product, for sparkline cells. Stored as JSON.