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