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 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§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