pub struct SelfUpdateSuccess {
pub current_version: String,
pub latest_version: String,
pub status: SelfUpdateStatus,
pub installation_method: InstallationMethod,
pub release_url: String,
}Fields§
§current_version: StringVersion running when the command started, including after replacement.
latest_version: String§status: SelfUpdateStatus§installation_method: InstallationMethod§release_url: StringTrait Implementations§
Source§impl Debug for SelfUpdateSuccess
impl Debug for SelfUpdateSuccess
impl Eq for SelfUpdateSuccess
Source§impl PartialEq for SelfUpdateSuccess
impl PartialEq for SelfUpdateSuccess
Source§impl Serialize for SelfUpdateSuccess
impl Serialize for SelfUpdateSuccess
impl StructuralPartialEq for SelfUpdateSuccess
Auto Trait Implementations§
impl Freeze for SelfUpdateSuccess
impl RefUnwindSafe for SelfUpdateSuccess
impl Send for SelfUpdateSuccess
impl Sync for SelfUpdateSuccess
impl Unpin for SelfUpdateSuccess
impl UnsafeUnpin for SelfUpdateSuccess
impl UnwindSafe for SelfUpdateSuccess
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<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.