pub struct Table {
pub require: bool,
pub field: String,
pub mode: String,
pub title: String,
pub table: String,
pub fields: Vec<String>,
pub api: String,
pub show: bool,
pub describe: String,
pub def: String,
pub multiple: bool,
pub multiple_count: i32,
}Expand description
关联表
- field 字段名
- mode 模式 string
- title 字段描述
- length 字段总长度(含小数位)
- default 默认值
- empty 是否可空
- dec 小数位
Fields§
§require: bool§field: String§mode: String§title: String§table: String§fields: Vec<String>§api: String§show: bool§describe: String§def: String§multiple: bool§multiple_count: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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