pub struct ResolvedConfig {
pub path: Option<PathBuf>,
pub rules: RulesConfig,
pub base: BaseConfig,
}Fields§
§path: Option<PathBuf>the path of the config file that contributed to the resolved config, if any
rules: RulesConfigthe rules used to resolve the config (kept for reference/diagnostics)
Note: rules are merged into base during resolution
base: BaseConfigthe base config with rules applied - the single source of truth for policy This is the complete, merged configuration (base + rules) passed to policy engine. Policy reads from this field only; no side effects or dynamic rule lookups.
Trait Implementations§
Source§impl Clone for ResolvedConfig
impl Clone for ResolvedConfig
Source§fn clone(&self) -> ResolvedConfig
fn clone(&self) -> ResolvedConfig
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 ResolvedConfig
impl RefUnwindSafe for ResolvedConfig
impl Send for ResolvedConfig
impl Sync for ResolvedConfig
impl Unpin for ResolvedConfig
impl UnsafeUnpin for ResolvedConfig
impl UnwindSafe for ResolvedConfig
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