pub struct CompositionResult {
pub resolved: ResolvedProfile,
pub conflicts: Vec<ConflictResolution>,
pub source_env: HashMap<String, Vec<EnvVar>>,
pub source_commits: HashMap<String, String>,
}Expand description
Result of composition: merged profile + conflict report.
Fields§
§resolved: ResolvedProfile§conflicts: Vec<ConflictResolution>§source_env: HashMap<String, Vec<EnvVar>>Per-source env var sets for template sandboxing. Source templates must only access their own env vars + system facts, NOT the subscriber’s personal env vars.
source_commits: HashMap<String, String>Source name → commit hash, populated by the caller that has access to
SourceManager (not by compose() itself, which only sees layers).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompositionResult
impl RefUnwindSafe for CompositionResult
impl Send for CompositionResult
impl Sync for CompositionResult
impl Unpin for CompositionResult
impl UnsafeUnpin for CompositionResult
impl UnwindSafe for CompositionResult
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