pub struct UpdateResult {
pub path: PathBuf,
pub name: String,
pub old_version: String,
pub new_version: String,
pub extra: Option<String>,
}Expand description
The outcome of updating a single version file.
Fields§
§path: PathBufAbsolute path to the file that was updated.
name: StringHuman-readable engine name (e.g. "Cargo.toml").
old_version: StringVersion string before the update.
new_version: StringVersion string after the update.
extra: Option<String>Optional extra info (e.g. "VERSION_CODE: 42 → 43").
Trait Implementations§
Source§impl Clone for UpdateResult
impl Clone for UpdateResult
Source§fn clone(&self) -> UpdateResult
fn clone(&self) -> UpdateResult
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateResult
impl Debug for UpdateResult
Source§impl PartialEq for UpdateResult
impl PartialEq for UpdateResult
impl Eq for UpdateResult
impl StructuralPartialEq for UpdateResult
Auto Trait Implementations§
impl Freeze for UpdateResult
impl RefUnwindSafe for UpdateResult
impl Send for UpdateResult
impl Sync for UpdateResult
impl Unpin for UpdateResult
impl UnsafeUnpin for UpdateResult
impl UnwindSafe for UpdateResult
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