1 2 3 4 5 6 7 8 9
//! Trait to associate a field type provider with a struct.
/// Used by code produced from Toql derive.
pub trait QueryFields {
type FieldsType;
fn fields() -> Self::FieldsType;
fn fields_from_path(path: String) -> Self::FieldsType;
}