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,
}
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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Table
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