pub struct FieldDef {
pub name: &'static str,
pub column: &'static str,
pub field_type: FieldType,
pub aliases: &'static [&'static str],
}Expand description
Field definition with SQL column mapping.
Fields§
§name: &'static strUser-facing field name (lowercase).
column: &'static strSQL column expression.
field_type: FieldTypeField type for validation.
aliases: &'static [&'static str]Aliases for this field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldDef
impl RefUnwindSafe for FieldDef
impl Send for FieldDef
impl Sync for FieldDef
impl Unpin for FieldDef
impl UnsafeUnpin for FieldDef
impl UnwindSafe for FieldDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more