pub struct ConfigSources {
pub system_config: Option<PathBuf>,
pub local_config: Option<PathBuf>,
}Expand description
Configuration file sources
Fields§
§system_config: Option<PathBuf>System-wide config path (if exists)
local_config: Option<PathBuf>Local repository config path (if exists)
Trait Implementations§
Source§impl Debug for ConfigSources
impl Debug for ConfigSources
Source§impl<'de> Deserialize<'de> for ConfigSources
impl<'de> Deserialize<'de> for ConfigSources
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 ConfigSources
impl RefUnwindSafe for ConfigSources
impl Send for ConfigSources
impl Sync for ConfigSources
impl Unpin for ConfigSources
impl UnwindSafe for ConfigSources
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<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
Source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
Source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
Source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more