pub struct ConfigCandidate {
pub path: PathBuf,
pub status: PathStatus,
pub tier: ConfigTier,
pub source_type: SourceType,
}Expand description
Information about a configuration path candidate.
Fields§
§path: PathBufFull path to the configuration.
status: PathStatusExistence status of the path.
tier: ConfigTierPriority tier of this configuration.
source_type: SourceTypeType of configuration source.
Implementations§
Source§impl ConfigCandidate
impl ConfigCandidate
Sourcepub const fn new(
path: PathBuf,
status: PathStatus,
tier: ConfigTier,
source_type: SourceType,
) -> Self
pub const fn new( path: PathBuf, status: PathStatus, tier: ConfigTier, source_type: SourceType, ) -> Self
Create a new config candidate.
Trait Implementations§
Source§impl Clone for ConfigCandidate
impl Clone for ConfigCandidate
Source§fn clone(&self) -> ConfigCandidate
fn clone(&self) -> ConfigCandidate
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 ConfigCandidate
impl RefUnwindSafe for ConfigCandidate
impl Send for ConfigCandidate
impl Sync for ConfigCandidate
impl Unpin for ConfigCandidate
impl UnsafeUnpin for ConfigCandidate
impl UnwindSafe for ConfigCandidate
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