pub struct General {
pub data_dir: Option<PathBuf>,
pub index_prompt_text: bool,
}Fields§
§data_dir: Option<PathBuf>Store location. None means “use the built-in default” (~/.warden).
index_prompt_text: boolStore prompt text alongside text_hash.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for General
impl<'de> Deserialize<'de> for General
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 General
impl RefUnwindSafe for General
impl Send for General
impl Sync for General
impl Unpin for General
impl UnsafeUnpin for General
impl UnwindSafe for General
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