pub struct ActiveInstall {
pub id: String,
pub provider: InstallProviderId,
pub reference: String,
pub display_name: String,
pub total_bytes: Option<i64>,
pub progress: InstallProgress,
pub started_at: i64,
}Expand description
A running install: identity, what’s being fetched, live progress, and when it started (epoch milliseconds).
Fields§
§id: StringThe install’s opaque id.
provider: InstallProviderIdThe provider fetching it.
reference: StringThe reference being installed.
display_name: StringThe name to show.
total_bytes: Option<i64>The total to download, if known.
progress: InstallProgressThe latest progress.
started_at: i64When it started, epoch milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for ActiveInstall
impl Clone for ActiveInstall
Source§fn clone(&self) -> ActiveInstall
fn clone(&self) -> ActiveInstall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActiveInstall
impl Debug for ActiveInstall
impl Eq for ActiveInstall
Source§impl Hash for ActiveInstall
impl Hash for ActiveInstall
Source§impl PartialEq for ActiveInstall
impl PartialEq for ActiveInstall
impl StructuralPartialEq for ActiveInstall
Auto Trait Implementations§
impl Freeze for ActiveInstall
impl RefUnwindSafe for ActiveInstall
impl Send for ActiveInstall
impl Sync for ActiveInstall
impl Unpin for ActiveInstall
impl UnsafeUnpin for ActiveInstall
impl UnwindSafe for ActiveInstall
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