pub struct OptionalParserPackLifecycleReport {
pub operation: OptionalParserPackOperation,
pub state: OptionalParserPackState,
pub pack_id: &'static str,
pub supported: bool,
pub capability: OptionalParserCapability,
pub platform: Option<&'static str>,
pub installed_slots: usize,
pub installed_slots_truncated: bool,
pub selected: Option<OptionalParserPackSlotReport>,
pub rollback: Option<OptionalParserPackSlotReport>,
pub artifact: Option<OptionalParserPackSlotReport>,
pub changed: bool,
}Expand description
Structured result shared by lifecycle commands and later settings integration.
Fields§
§operation: OptionalParserPackOperationOperation that produced this report.
state: OptionalParserPackStateCurrent content-free lifecycle state.
pack_id: &'static strStable identity of the one logical optional parser pack.
supported: boolWhether the current host has an accepted containment adapter.
capability: OptionalParserCapabilityClosed host capability, including built-in-only fallback on unsupported tuples.
platform: Option<&'static str>Accepted target triple for this host, when supported.
installed_slots: usizeNumber of installed immutable slots observed within the bounded status scan.
installed_slots_truncated: boolWhether lifecycle metadata traversal reached its directory-entry bound.
selected: Option<OptionalParserPackSlotReport>Current project selection, including missing-slot state.
rollback: Option<OptionalParserPackSlotReport>Previous project selection retained by the last successful update.
artifact: Option<OptionalParserPackSlotReport>Artifact targeted by verify, install, enable, or update.
changed: boolWhether this command changed durable lifecycle state.
Trait Implementations§
Source§impl Clone for OptionalParserPackLifecycleReport
impl Clone for OptionalParserPackLifecycleReport
Source§fn clone(&self) -> OptionalParserPackLifecycleReport
fn clone(&self) -> OptionalParserPackLifecycleReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Eq for OptionalParserPackLifecycleReport
Source§impl PartialEq for OptionalParserPackLifecycleReport
impl PartialEq for OptionalParserPackLifecycleReport
Source§fn eq(&self, other: &OptionalParserPackLifecycleReport) -> bool
fn eq(&self, other: &OptionalParserPackLifecycleReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OptionalParserPackLifecycleReport
Auto Trait Implementations§
impl Freeze for OptionalParserPackLifecycleReport
impl RefUnwindSafe for OptionalParserPackLifecycleReport
impl Send for OptionalParserPackLifecycleReport
impl Sync for OptionalParserPackLifecycleReport
impl Unpin for OptionalParserPackLifecycleReport
impl UnsafeUnpin for OptionalParserPackLifecycleReport
impl UnwindSafe for OptionalParserPackLifecycleReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.