pub struct ColumnMeta {Show 17 fields
pub name: &'static str,
pub required: bool,
pub allow_null: bool,
pub max_length: Option<usize>,
pub min_length: Option<usize>,
pub allow_empty: bool,
pub regex: Option<&'static str>,
pub error_max_length: Option<&'static str>,
pub error_min_length: Option<&'static str>,
pub error_required: Option<&'static str>,
pub error_allow_null: Option<&'static str>,
pub error_allow_empty: Option<&'static str>,
pub error_regex: Option<&'static str>,
pub ignore: bool,
pub ignore_in_update: bool,
pub ignore_in_insert: bool,
pub ignore_in_delete: bool,
}Fields§
§name: &'static str§required: bool§allow_null: bool§max_length: Option<usize>§min_length: Option<usize>§allow_empty: bool§regex: Option<&'static str>§error_max_length: Option<&'static str>§error_min_length: Option<&'static str>§error_required: Option<&'static str>§error_allow_null: Option<&'static str>§error_allow_empty: Option<&'static str>§error_regex: Option<&'static str>§ignore: bool§ignore_in_update: bool§ignore_in_insert: bool§ignore_in_delete: boolAuto Trait Implementations§
impl Freeze for ColumnMeta
impl RefUnwindSafe for ColumnMeta
impl Send for ColumnMeta
impl Sync for ColumnMeta
impl Unpin for ColumnMeta
impl UnwindSafe for ColumnMeta
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