pub struct UpdateReport {
pub entries: Vec<(String, UpdateOutcome)>,
pub manifest_modified: bool,
pub manifest: Option<Manifest>,
pub install: Option<InstallReport>,
}Expand description
Result of update.
Fields§
§entries: Vec<(String, UpdateOutcome)>(dep name, decision) for every dep that was considered, in
manifest iteration order. Empty when opts.name matched nothing.
manifest_modified: booltrue when the manifest changed (only for TagBumped under
force, and never under dry_run). For ManifestSource::File
the file was rewritten; for ManifestSource::Value nothing was
written and the result is in manifest.
manifest: Option<Manifest>The manifest after the update, present only when
manifest_modified is true.
install: Option<InstallReport>The re-install that followed, if any. None under dry_run or
when every entry was Skipped.
Trait Implementations§
Source§impl Clone for UpdateReport
impl Clone for UpdateReport
Source§fn clone(&self) -> UpdateReport
fn clone(&self) -> UpdateReport
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 UpdateReport
impl Debug for UpdateReport
Source§impl Default for UpdateReport
impl Default for UpdateReport
Source§fn default() -> UpdateReport
fn default() -> UpdateReport
Returns the “default value” for a type. Read more
impl Eq for UpdateReport
Source§impl PartialEq for UpdateReport
impl PartialEq for UpdateReport
impl StructuralPartialEq for UpdateReport
Auto Trait Implementations§
impl Freeze for UpdateReport
impl RefUnwindSafe for UpdateReport
impl Send for UpdateReport
impl Sync for UpdateReport
impl Unpin for UpdateReport
impl UnsafeUnpin for UpdateReport
impl UnwindSafe for UpdateReport
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,
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
Compare self to
key and return true if they are equal.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