pub struct Table {
pub version: String,
pub table: String,
pub title: String,
pub primary_key: String,
pub unique: Vec<String>,
pub index: Vec<Vec<String>>,
pub fields: JsonValue,
}
Expand description
模型数据库字段模型
Fields§
§version: String
§table: String
§title: String
§primary_key: String
§unique: Vec<String>
§index: Vec<Vec<String>>
§fields: JsonValue
Implementations§
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