pub struct DiscoveredConfig {
pub config: Config,
pub root: PathBuf,
pub source: ConfigSource,
}Expand description
Result of discovering configuration.
Fields§
§config: ConfigThe resolved configuration.
root: PathBufThe project root directory (where config was found).
source: ConfigSourceWhere the config was loaded from.
Trait Implementations§
Source§impl Clone for DiscoveredConfig
impl Clone for DiscoveredConfig
Source§fn clone(&self) -> DiscoveredConfig
fn clone(&self) -> DiscoveredConfig
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredConfig
impl RefUnwindSafe for DiscoveredConfig
impl Send for DiscoveredConfig
impl Sync for DiscoveredConfig
impl Unpin for DiscoveredConfig
impl UnwindSafe for DiscoveredConfig
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