Struct tarantool::index::IndexOptions
source · pub struct IndexOptions {Show 14 fields
pub type: Option<IndexType>,
pub id: Option<u32>,
pub unique: Option<bool>,
pub if_not_exists: Option<bool>,
pub parts: Option<Vec<Part>>,
pub dimension: Option<u32>,
pub distance: Option<RtreeIndexDistanceType>,
pub bloom_fpr: Option<f32>,
pub page_size: Option<u32>,
pub range_size: Option<u32>,
pub run_count_per_level: Option<u32>,
pub run_size_ratio: Option<f32>,
pub sequence: Option<SequenceOpt>,
pub func: Option<String>,
}
Expand description
List of options for new or updated index.
For details see space_object:create_index - options.
Fields§
§type: Option<IndexType>
§id: Option<u32>
§unique: Option<bool>
§if_not_exists: Option<bool>
§parts: Option<Vec<Part>>
§dimension: Option<u32>
§distance: Option<RtreeIndexDistanceType>
§bloom_fpr: Option<f32>
§page_size: Option<u32>
§range_size: Option<u32>
§run_count_per_level: Option<u32>
§run_size_ratio: Option<f32>
§sequence: Option<SequenceOpt>
§func: Option<String>
Trait Implementations§
source§impl Default for IndexOptions
impl Default for IndexOptions
source§fn default() -> IndexOptions
fn default() -> IndexOptions
Returns the “default value” for a type. Read more
source§impl<__AsLuaTypeParam> Push<__AsLuaTypeParam> for IndexOptionswhere
__AsLuaTypeParam: AsLua,
impl<__AsLuaTypeParam> Push<__AsLuaTypeParam> for IndexOptionswhere
__AsLuaTypeParam: AsLua,
source§impl Serialize for IndexOptions
impl Serialize for IndexOptions
impl<__AsLuaTypeParam> PushOne<__AsLuaTypeParam> for IndexOptionswhere
__AsLuaTypeParam: AsLua,
Auto Trait Implementations§
impl RefUnwindSafe for IndexOptions
impl Send for IndexOptions
impl Sync for IndexOptions
impl Unpin for IndexOptions
impl UnwindSafe for IndexOptions
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