pub struct Config {
pub repo: PathBuf,
pub state_file: PathBuf,
pub ids_file: PathBuf,
pub ctx_from_env_var: Option<String>,
}Expand description
Configuration for the rstask application
Fields§
§repo: PathBufPath to the git repository
state_file: PathBufPath to the rstask local state file
ids_file: PathBufPath to the IDs file
ctx_from_env_var: Option<String>Context from environment variable
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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