pub struct UpdateHint {
pub current_version: String,
pub latest_version: String,
}Expand description
A newer release than the running app, from the license’s p:rel claim. No
network involved; call checkUpdate for the notes.
Fields§
§current_version: String§latest_version: StringTrait Implementations§
Source§impl Clone for UpdateHint
impl Clone for UpdateHint
Source§impl Debug for UpdateHint
impl Debug for UpdateHint
impl Eq for UpdateHint
Source§impl PartialEq for UpdateHint
impl PartialEq for UpdateHint
Source§impl Serialize for UpdateHint
impl Serialize for UpdateHint
impl StructuralPartialEq for UpdateHint
Auto Trait Implementations§
impl Freeze for UpdateHint
impl RefUnwindSafe for UpdateHint
impl Send for UpdateHint
impl Sync for UpdateHint
impl Unpin for UpdateHint
impl UnsafeUnpin for UpdateHint
impl UnwindSafe for UpdateHint
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.