pub struct PathOverrides {
pub config_file: Option<PathBuf>,
pub history_file: Option<PathBuf>,
pub plugins_dir: Option<PathBuf>,
}Expand description
Key-based path overrides from command-line flags.
Fields§
§config_file: Option<PathBuf>Optional override for config file path.
history_file: Option<PathBuf>Optional override for history file path.
plugins_dir: Option<PathBuf>Optional override for plugins directory path.
Trait Implementations§
Source§impl Clone for PathOverrides
impl Clone for PathOverrides
Source§fn clone(&self) -> PathOverrides
fn clone(&self) -> PathOverrides
Returns a duplicate of the value. Read more
1.0.0 · 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 PathOverrides
impl Debug for PathOverrides
Source§impl Default for PathOverrides
impl Default for PathOverrides
Source§fn default() -> PathOverrides
fn default() -> PathOverrides
Returns the “default value” for a type. Read more
Source§impl PartialEq for PathOverrides
impl PartialEq for PathOverrides
impl Eq for PathOverrides
impl StructuralPartialEq for PathOverrides
Auto Trait Implementations§
impl Freeze for PathOverrides
impl RefUnwindSafe for PathOverrides
impl Send for PathOverrides
impl Sync for PathOverrides
impl Unpin for PathOverrides
impl UnsafeUnpin for PathOverrides
impl UnwindSafe for PathOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.