pub struct ApplySummary {
pub success: Vec<ApplyItem>,
pub failed: Vec<ApplyItem>,
pub held_back: Vec<ApplyItem>,
pub blocked: Vec<ApplyItem>,
pub skipped: Vec<ApplyItem>,
}Expand description
Summary of the apply phase, partitioning all components into success / failed / held_back buckets.
Fields§
§success: Vec<ApplyItem>Items that were applied successfully.
failed: Vec<ApplyItem>Items that failed during apply.
held_back: Vec<ApplyItem>Items held back (not selected by user).
blocked: Vec<ApplyItem>Items blocked by a failed dependency.
skipped: Vec<ApplyItem>Items skipped (not eligible).
Implementations§
Source§impl ApplySummary
impl ApplySummary
Sourcepub fn has_failures(&self) -> bool
pub fn has_failures(&self) -> bool
Whether any item failed.
Sourcepub fn is_complete_partition(&self) -> bool
pub fn is_complete_partition(&self) -> bool
Check that every component is in exactly one bucket (complete partitioning).
Trait Implementations§
Source§impl Clone for ApplySummary
impl Clone for ApplySummary
Source§impl Debug for ApplySummary
impl Debug for ApplySummary
Source§impl Default for ApplySummary
impl Default for ApplySummary
Source§impl<'de> Deserialize<'de> for ApplySummary
impl<'de> Deserialize<'de> for ApplySummary
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApplySummary
impl PartialEq for ApplySummary
Source§impl Serialize for ApplySummary
impl Serialize for ApplySummary
impl StructuralPartialEq for ApplySummary
Auto Trait Implementations§
impl Freeze for ApplySummary
impl RefUnwindSafe for ApplySummary
impl Send for ApplySummary
impl Sync for ApplySummary
impl Unpin for ApplySummary
impl UnsafeUnpin for ApplySummary
impl UnwindSafe for ApplySummary
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more