pub struct ResolvedConfig<'a> {
pub toml_view: Option<&'a ViewProfile>,
pub json_profile: Option<&'a Profile>,
pub toml: Option<&'a TomlConfig>,
}Expand description
Resolved configuration combining TOML and JSON sources.
Fields§
§toml_view: Option<&'a ViewProfile>TOML view profile (takes precedence).
json_profile: Option<&'a Profile>JSON profile (fallback).
toml: Option<&'a TomlConfig>TOML config sections.
Implementations§
Trait Implementations§
Source§impl<'a> Debug for ResolvedConfig<'a>
impl<'a> Debug for ResolvedConfig<'a>
Source§impl<'a> Default for ResolvedConfig<'a>
impl<'a> Default for ResolvedConfig<'a>
Source§fn default() -> ResolvedConfig<'a>
fn default() -> ResolvedConfig<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ResolvedConfig<'a>
impl<'a> RefUnwindSafe for ResolvedConfig<'a>
impl<'a> Send for ResolvedConfig<'a>
impl<'a> Sync for ResolvedConfig<'a>
impl<'a> Unpin for ResolvedConfig<'a>
impl<'a> UnsafeUnpin for ResolvedConfig<'a>
impl<'a> UnwindSafe for ResolvedConfig<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more