pub struct LocalStoreConfig {
pub root_dir: PathBuf,
pub auto_create: bool,
}Expand description
Configuration for the local file store.
Fields§
§root_dir: PathBufRoot directory that all stored keys and generated parent directories must stay under.
auto_create: boolWhether to auto-create the root directory if it doesn’t exist.
Trait Implementations§
Source§impl Clone for LocalStoreConfig
impl Clone for LocalStoreConfig
Source§fn clone(&self) -> LocalStoreConfig
fn clone(&self) -> LocalStoreConfig
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 LocalStoreConfig
impl Debug for LocalStoreConfig
Source§impl Default for LocalStoreConfig
impl Default for LocalStoreConfig
Source§impl<'de> Deserialize<'de> for LocalStoreConfig
impl<'de> Deserialize<'de> for LocalStoreConfig
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 LocalStoreConfig
impl RefUnwindSafe for LocalStoreConfig
impl Send for LocalStoreConfig
impl Sync for LocalStoreConfig
impl Unpin for LocalStoreConfig
impl UnsafeUnpin for LocalStoreConfig
impl UnwindSafe for LocalStoreConfig
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