Struct rorm_declaration::hmr::annotations::IndexData
source · Expand description
Represents a complex index
Fields
name: &'static str
Name of the index. Can be used multiple times in a model to create an index with multiple columns.
priority: Option<i32>
The order to put the columns in while generating an index. Only useful if multiple columns with the same name are present.
Auto Trait Implementations
impl RefUnwindSafe for IndexData
impl Send for IndexData
impl Sync for IndexData
impl Unpin for IndexData
impl UnwindSafe for IndexData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more