pub struct Config {
pub repo_url: String,
pub mount_path: String,
}Fields§
§repo_url: String§mount_path: StringImplementations§
Source§impl Config
impl Config
pub fn from_env_and_cli(cli: &CLI) -> Result<Self, Box<dyn Error>>
pub fn show_configuration_help()
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 UnsafeUnpin 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