pub struct IndexDef {
pub name: String,
pub table_name: String,
pub columns: Vec<String>,
pub unique: bool,
}Expand description
索引定义
Fields§
§name: String索引名称
table_name: String表名
columns: Vec<String>列名列表
unique: bool是否唯一索引
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexDef
impl RefUnwindSafe for IndexDef
impl Send for IndexDef
impl Sync for IndexDef
impl Unpin for IndexDef
impl UnsafeUnpin for IndexDef
impl UnwindSafe for IndexDef
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