pub struct Behind {
pub installed: String,
pub latest: String,
}Expand description
A newer version exists and the install has not taken it yet.
This is what a surface keeps on screen: a comparison, not an event. The same install stays
behind the same answer across any number of runs until eclipse upgrade rewrites
install.json, which is why it cannot be gated by the cache’s notified field — that field
makes a line happen once, and the badge is a fact that lasts.
Fields§
§installed: StringWhat the install has, in the shape its channel compares: a version, or a short commit.
latest: StringThe newest answer, the same shape: a tag as the release names it, or a short commit.
Implementations§
Trait Implementations§
impl Eq for Behind
impl StructuralPartialEq for Behind
Auto Trait Implementations§
impl Forget for Behind
impl Freeze for Behind
impl Move for Behind
impl RefUnwindSafe for Behind
impl Send for Behindwhere
RawVecInner: Send,
impl Sync for Behindwhere
RawVecInner: Sync,
impl Unpin for Behind
impl UnsafeUnpin for Behind
impl UnwindSafe for Behindwhere
RawVecInner: UnwindSafe,
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.