pub struct MemoryStoreConfig {
pub enable_history: bool,
pub max_history_per_user: usize,
}Expand description
Configuration for the in-memory store.
Fields§
§enable_history: boolWhether to keep historical snapshots.
max_history_per_user: usizeMaximum number of historical snapshots per user.
Trait Implementations§
Source§impl Clone for MemoryStoreConfig
impl Clone for MemoryStoreConfig
Source§fn clone(&self) -> MemoryStoreConfig
fn clone(&self) -> MemoryStoreConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryStoreConfig
impl Debug for MemoryStoreConfig
Auto Trait Implementations§
impl Freeze for MemoryStoreConfig
impl RefUnwindSafe for MemoryStoreConfig
impl Send for MemoryStoreConfig
impl Sync for MemoryStoreConfig
impl Unpin for MemoryStoreConfig
impl UnwindSafe for MemoryStoreConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)