pub struct InstallReport {
pub outcomes: BTreeMap<String, InstallOutcome>,
}Expand description
Aggregate result across every skill installed to a target.
Fields§
§outcomes: BTreeMap<String, InstallOutcome>Per-skill outcomes keyed by skill name.
Implementations§
Source§impl InstallReport
impl InstallReport
Sourcepub fn count(&self, outcome: &InstallOutcome) -> usize
pub fn count(&self, outcome: &InstallOutcome) -> usize
Count of skills with a given outcome.
Sourcepub fn is_all_noop(&self) -> bool
pub fn is_all_noop(&self) -> bool
true if nothing was installed or upgraded.
Trait Implementations§
Source§impl Clone for InstallReport
impl Clone for InstallReport
Source§fn clone(&self) -> InstallReport
fn clone(&self) -> InstallReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstallReport
impl Debug for InstallReport
Source§impl Default for InstallReport
impl Default for InstallReport
Source§fn default() -> InstallReport
fn default() -> InstallReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstallReport
impl RefUnwindSafe for InstallReport
impl Send for InstallReport
impl Sync for InstallReport
impl Unpin for InstallReport
impl UnsafeUnpin for InstallReport
impl UnwindSafe for InstallReport
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