pub struct TableOptions {
pub compaction: Option<CompactionStrategy>,
pub compression: Option<CompressionOptions>,
pub caching: Option<CachingOptions>,
pub bloom_filter_fp_chance: Option<f64>,
pub gc_grace_seconds: Option<u32>,
pub default_time_to_live: Option<u32>,
pub memtable_flush_period_in_ms: Option<u32>,
pub additional_properties: HashMap<String, String>,
}Expand description
Table configuration options
Fields§
§compaction: Option<CompactionStrategy>Compaction strategy
compression: Option<CompressionOptions>Compression options
caching: Option<CachingOptions>Cache settings
bloom_filter_fp_chance: Option<f64>Bloom filter settings
gc_grace_seconds: Option<u32>GC grace seconds
default_time_to_live: Option<u32>Default time to live
memtable_flush_period_in_ms: Option<u32>Memtable flush period
additional_properties: HashMap<String, String>Additional properties
Trait Implementations§
Source§impl Clone for TableOptions
impl Clone for TableOptions
Source§fn clone(&self) -> TableOptions
fn clone(&self) -> TableOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableOptions
impl Debug for TableOptions
Source§impl<'de> Deserialize<'de> for TableOptions
impl<'de> Deserialize<'de> for TableOptions
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 TableOptions
impl RefUnwindSafe for TableOptions
impl Send for TableOptions
impl Sync for TableOptions
impl Unpin for TableOptions
impl UnsafeUnpin for TableOptions
impl UnwindSafe for TableOptions
Blanket Implementations§
impl<T> Allocation for T
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