pub struct IndexConfig {
pub name: String,
pub index_type: IndexType,
pub field: Option<String>,
pub fields: Option<Vec<String>>,
pub text_fields: Option<Vec<String>>,
pub inmemory: Option<bool>,
pub persistent: Option<bool>,
pub description: Option<String>,
}Fields§
§name: String§index_type: IndexType§field: Option<String>§fields: Option<Vec<String>>§text_fields: Option<Vec<String>>§inmemory: Option<bool>§persistent: Option<bool>§description: Option<String>Trait Implementations§
Source§impl Clone for IndexConfig
impl Clone for IndexConfig
Source§impl Debug for IndexConfig
impl Debug for IndexConfig
Source§impl<'de> Deserialize<'de> for IndexConfig
impl<'de> Deserialize<'de> for IndexConfig
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 IndexConfig
impl RefUnwindSafe for IndexConfig
impl Send for IndexConfig
impl Sync for IndexConfig
impl Unpin for IndexConfig
impl UnsafeUnpin for IndexConfig
impl UnwindSafe for IndexConfig
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