pub struct UpdateCheck {
pub current: Version,
pub latest: Version,
pub update_available: bool,
pub release: Option<ReleaseInfo>,
}Expand description
Result of a version check.
Fields§
§current: Version§latest: Version§update_available: bool§release: Option<ReleaseInfo>Trait Implementations§
Source§impl Clone for UpdateCheck
impl Clone for UpdateCheck
Source§fn clone(&self) -> UpdateCheck
fn clone(&self) -> UpdateCheck
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 moreAuto Trait Implementations§
impl Freeze for UpdateCheck
impl RefUnwindSafe for UpdateCheck
impl Send for UpdateCheck
impl Sync for UpdateCheck
impl Unpin for UpdateCheck
impl UnsafeUnpin for UpdateCheck
impl UnwindSafe for UpdateCheck
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