pub struct StorageServiceConfig {
pub enable_batching: bool,
pub batch_size: usize,
pub batch_timeout_ms: u64,
pub enable_caching: bool,
pub cache_ttl_seconds: u64,
}Fields§
§enable_batching: boolEnable write batching
batch_size: usizeBatch size for bulk operations
batch_timeout_ms: u64Batch timeout in milliseconds
enable_caching: boolEnable read caching
cache_ttl_seconds: u64Cache TTL in seconds
Trait Implementations§
Source§impl Clone for StorageServiceConfig
impl Clone for StorageServiceConfig
Source§fn clone(&self) -> StorageServiceConfig
fn clone(&self) -> StorageServiceConfig
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 StorageServiceConfig
impl Debug for StorageServiceConfig
Auto Trait Implementations§
impl Freeze for StorageServiceConfig
impl RefUnwindSafe for StorageServiceConfig
impl Send for StorageServiceConfig
impl Sync for StorageServiceConfig
impl Unpin for StorageServiceConfig
impl UnwindSafe for StorageServiceConfig
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