pub struct UpdateInventory {
pub current_version: String,
pub last_checked_at: i64,
pub host: UpdateInventoryEntry,
pub extensions: Vec<UpdateInventoryEntry>,
}Expand description
Machine-readable update inventory for the web UI.
The web UI needs the same answer as the startup notice without parsing human-readable CLI output: installed versions, latest versions, and whether each target can be updated from this install.
Fields§
§current_version: String§last_checked_at: i64Latest known registry observation. Failed refreshes do not advance it.
host: UpdateInventoryEntry§extensions: Vec<UpdateInventoryEntry>Trait Implementations§
Source§impl Clone for UpdateInventory
impl Clone for UpdateInventory
Source§impl Debug for UpdateInventory
impl Debug for UpdateInventory
impl Eq for UpdateInventory
Source§impl PartialEq for UpdateInventory
impl PartialEq for UpdateInventory
Source§impl Serialize for UpdateInventory
impl Serialize for UpdateInventory
impl StructuralPartialEq for UpdateInventory
Auto Trait Implementations§
impl Forget for UpdateInventory
impl Freeze for UpdateInventorywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<UpdateInventoryEntry>: Freeze,
impl Move for UpdateInventory
impl RefUnwindSafe for UpdateInventory
impl Send for UpdateInventorywhere
RawVecInner: Send,
impl Sync for UpdateInventorywhere
RawVecInner: Sync,
impl Unpin for UpdateInventory
impl UnsafeUnpin for UpdateInventorywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UpdateInventoryEntry>: UnsafeUnpin,
impl UnwindSafe for UpdateInventorywhere
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.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.