pub struct IndexDef {
pub fields: Vec<String>,
pub name: String,
pub unique: bool,
}Expand description
An index definition.
Fields§
§fields: Vec<String>§name: String§unique: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for IndexDef
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