pub struct ResolvedComponent {Show 17 fields
pub id: String,
pub display_name: Option<String>,
pub version: Option<String>,
pub optional: bool,
pub allow_insecure_hosts: Vec<String>,
pub kind: InstallKind,
pub variant: Option<String>,
pub requested_by: Vec<String>,
pub dependencies: Vec<String>,
pub provides: Vec<String>,
pub conflicts: Vec<String>,
pub detect: Option<CheckSpec>,
pub install: Option<InstallSpec>,
pub verify: Option<CheckSpec>,
pub source: Option<String>,
pub revision: Option<String>,
pub agents: Vec<Agent>,
}Expand description
Component after profile, dependency, platform, and variant resolution.
Fields§
§id: StringCanonical component identifier.
display_name: Option<String>Optional human-readable component name.
version: Option<String>Version supplied by the selected component or platform variant.
optional: boolWhether interactive selection may omit the component.
allow_insecure_hosts: Vec<String>Per-component insecure hosts forwarded only to supported installers.
kind: InstallKindTool or skill lifecycle kind.
variant: Option<String>Selected variant identifier, when target resolution chose one.
requested_by: Vec<String>Stable reasons that pulled the component into the dependency closure.
dependencies: Vec<String>Canonical component IDs that must complete first.
provides: Vec<String>Capability names supplied by this component.
conflicts: Vec<String>Component or capability names that cannot coexist with this selection.
detect: Option<CheckSpec>Typed pre-install detection contract.
install: Option<InstallSpec>Typed installation contract selected for the target.
verify: Option<CheckSpec>Typed post-install verification contract.
source: Option<String>Canonical upstream source, when the backend has one.
revision: Option<String>Pinned upstream revision, when the backend has one.
agents: Vec<Agent>Agent destinations for a skill component.
Trait Implementations§
Source§impl Clone for ResolvedComponent
impl Clone for ResolvedComponent
Source§fn clone(&self) -> ResolvedComponent
fn clone(&self) -> ResolvedComponent
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 ResolvedComponent
impl Debug for ResolvedComponent
Source§impl<'de> Deserialize<'de> for ResolvedComponent
impl<'de> Deserialize<'de> for ResolvedComponent
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 ResolvedComponent
Source§impl PartialEq for ResolvedComponent
impl PartialEq for ResolvedComponent
Source§impl Serialize for ResolvedComponent
impl Serialize for ResolvedComponent
impl StructuralPartialEq for ResolvedComponent
Auto Trait Implementations§
impl Freeze for ResolvedComponent
impl RefUnwindSafe for ResolvedComponent
impl Send for ResolvedComponent
impl Sync for ResolvedComponent
impl Unpin for ResolvedComponent
impl UnsafeUnpin for ResolvedComponent
impl UnwindSafe for ResolvedComponent
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.