pub struct GraphStorageConfig {
pub enable_text_indexing: bool,
pub enable_attribute_indexing: bool,
pub max_cache_size: usize,
pub batch_size: usize,
pub enable_compression: bool,
}Expand description
Graph storage configuration
Fields§
§enable_text_indexing: boolEnable full-text indexing
enable_attribute_indexing: boolEnable attribute indexing
max_cache_size: usizeMaximum cache size for frequently accessed items
batch_size: usizeBatch size for bulk operations
enable_compression: boolEnable compression for storage
Trait Implementations§
Source§impl Clone for GraphStorageConfig
impl Clone for GraphStorageConfig
Source§fn clone(&self) -> GraphStorageConfig
fn clone(&self) -> GraphStorageConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 GraphStorageConfig
impl Debug for GraphStorageConfig
Source§impl Default for GraphStorageConfig
impl Default for GraphStorageConfig
Source§impl<'de> Deserialize<'de> for GraphStorageConfig
impl<'de> Deserialize<'de> for GraphStorageConfig
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 GraphStorageConfig
impl RefUnwindSafe for GraphStorageConfig
impl Send for GraphStorageConfig
impl Sync for GraphStorageConfig
impl Unpin for GraphStorageConfig
impl UnwindSafe for GraphStorageConfig
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