pub struct UpdateChange {
pub name: String,
pub source: String,
pub status: UpdateStatus,
pub old_commit: String,
pub new_commit: String,
pub detail: String,
pub resolved_tag: Option<String>,
}Expand description
One dependency’s update result.
Fields§
§name: StringDependency name (key under [dependencies]).
source: StringSource kind (local / git).
status: UpdateStatusWhat happened to this dependency.
old_commit: StringPreviously locked commit SHA (empty if none / not a git dep).
new_commit: StringNewly resolved/available commit SHA (empty for local / pinned-with-no-remote).
detail: StringHuman-readable detail (old→new, reason, or error message).
resolved_tag: Option<String>The tag selected by the M37 version resolver (when a version constraint
matched). Empty otherwise. Carried so apply_updates can fetch the exact
resolved tag without re-querying the remote.
Trait Implementations§
Source§impl Clone for UpdateChange
impl Clone for UpdateChange
Source§fn clone(&self) -> UpdateChange
fn clone(&self) -> UpdateChange
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 UpdateChange
impl Debug for UpdateChange
impl Eq for UpdateChange
Source§impl PartialEq for UpdateChange
impl PartialEq for UpdateChange
impl StructuralPartialEq for UpdateChange
Auto Trait Implementations§
impl Freeze for UpdateChange
impl RefUnwindSafe for UpdateChange
impl Send for UpdateChange
impl Sync for UpdateChange
impl Unpin for UpdateChange
impl UnsafeUnpin for UpdateChange
impl UnwindSafe for UpdateChange
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.