Struct rorm_declaration::imr::IndexValue
source · Expand description
Represents a complex index
Fields
name: String
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.
Trait Implementations
sourceimpl Clone for IndexValue
impl Clone for IndexValue
sourcefn clone(&self) -> IndexValue
fn clone(&self) -> IndexValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IndexValue
impl Debug for IndexValue
sourceimpl<'de> Deserialize<'de> for IndexValue
impl<'de> Deserialize<'de> for IndexValue
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for IndexValue
impl Hash for IndexValue
sourceimpl PartialEq<IndexValue> for IndexValue
impl PartialEq<IndexValue> for IndexValue
sourcefn eq(&self, other: &IndexValue) -> bool
fn eq(&self, other: &IndexValue) -> bool
sourceimpl Serialize for IndexValue
impl Serialize for IndexValue
impl Eq for IndexValue
impl StructuralEq for IndexValue
impl StructuralPartialEq for IndexValue
Auto Trait Implementations
impl RefUnwindSafe for IndexValue
impl Send for IndexValue
impl Sync for IndexValue
impl Unpin for IndexValue
impl UnwindSafe for IndexValue
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