pub struct Index {
pub model: String,
pub index_type: IndexType,
pub is_defined_on_field: bool,
pub name: Option<String>,
pub db_name: Option<String>,
pub algorithm: Option<String>,
pub clustered: Option<bool>,
pub fields: Vec<IndexField>,
}Fields§
§model: String§index_type: IndexType§is_defined_on_field: bool§name: Option<String>§db_name: Option<String>§algorithm: Option<String>§clustered: Option<bool>§fields: Vec<IndexField>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Index
impl<'de> Deserialize<'de> for Index
Source§fn 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
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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