pub struct ExecutionPlan {
pub profile: String,
pub target: TargetPlatform,
pub config_hash: String,
pub plan_hash: String,
pub policy: PlanPolicy,
pub certificate_preflight: Option<CertificatePreflightDef>,
pub components: Vec<ResolvedComponent>,
pub unsupported_components: Vec<UnsupportedComponent>,
pub nodes: Vec<ExecutionNode>,
pub environment: Vec<EnvironmentMutation>,
pub apt_mirror: Option<AptMirrorDef>,
pub origins: BTreeMap<String, String>,
}Expand description
Immutable, hashed description of one installation execution.
Fields§
§profile: StringProfile whose closure was resolved.
target: TargetPlatformTarget platform used for selector matching.
config_hash: StringDigest of the canonical configuration input.
plan_hash: StringDigest of this complete plan with the hash field initially empty.
policy: PlanPolicyFrozen policy consumed by execution and scheduling.
certificate_preflight: Option<CertificatePreflightDef>Platform-applicable certificate prerequisite executed before ordinary installation work.
components: Vec<ResolvedComponent>Resolved components in deterministic order.
unsupported_components: Vec<UnsupportedComponent>Components requested by the profile but unavailable on the target platform.
These entries are presentation metadata only. They are intentionally excluded from serialized plans and execution graphs so an unsupported component can never be run.
nodes: Vec<ExecutionNode>Executable dependency graph in deterministic order.
environment: Vec<EnvironmentMutation>Platform-applicable environment mutations.
apt_mirror: Option<AptMirrorDef>Optional APT mirror configuration carried into execution.
origins: BTreeMap<String, String>Configuration provenance retained for plan explanation.
Trait Implementations§
Source§impl Clone for ExecutionPlan
impl Clone for ExecutionPlan
Source§fn clone(&self) -> ExecutionPlan
fn clone(&self) -> ExecutionPlan
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionPlan
impl Debug for ExecutionPlan
Source§impl<'de> Deserialize<'de> for ExecutionPlan
impl<'de> Deserialize<'de> for ExecutionPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ExecutionPlan
Source§impl PartialEq for ExecutionPlan
impl PartialEq for ExecutionPlan
Source§impl Serialize for ExecutionPlan
impl Serialize for ExecutionPlan
impl StructuralPartialEq for ExecutionPlan
Auto Trait Implementations§
impl Freeze for ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnsafeUnpin for ExecutionPlan
impl UnwindSafe for ExecutionPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.