pub struct UpdateInfo {
pub current: String,
pub latest: String,
pub has_update: bool,
pub release_url: String,
}Expand description
Result of checking GitHub Releases for a newer Entracte build.
has_update is true when latest has a strictly greater SemVer
precedence than current. release_url points at the GitHub
release page so the renderer can deep-link the user.
Fields§
§current: String§latest: String§has_update: bool§release_url: StringTrait Implementations§
Source§impl Clone for UpdateInfo
impl Clone for UpdateInfo
Source§fn clone(&self) -> UpdateInfo
fn clone(&self) -> UpdateInfo
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 UpdateInfo
impl Debug for UpdateInfo
Auto Trait Implementations§
impl Freeze for UpdateInfo
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnsafeUnpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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