pub struct OptionalParserPackLifecycleReport {
pub operation: OptionalParserPackOperation,
pub state: OptionalParserPackState,
pub pack_id: &'static str,
pub supported: bool,
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.
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
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 moreSource§impl PartialEq for OptionalParserPackLifecycleReport
impl PartialEq for OptionalParserPackLifecycleReport
Source§fn eq(&self, other: &OptionalParserPackLifecycleReport) -> bool
fn eq(&self, other: &OptionalParserPackLifecycleReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OptionalParserPackLifecycleReport
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 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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.