pub struct StoreConfig {
pub db_path: PathBuf,
pub mcpr_version: String,
}Expand description
Configuration for opening the store.
Fields§
§db_path: PathBufPath to the SQLite database file. The parent directory is created automatically if it doesn’t exist.
mcpr_version: StringThe current mcpr binary version (e.g., “0.3.0”).
Written to the meta table on every startup for diagnostics.
Auto Trait Implementations§
impl Freeze for StoreConfig
impl RefUnwindSafe for StoreConfig
impl Send for StoreConfig
impl Sync for StoreConfig
impl Unpin for StoreConfig
impl UnsafeUnpin for StoreConfig
impl UnwindSafe for StoreConfig
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