pub struct InstallationStatistics {
pub total_installed: usize,
pub total_failed: usize,
pub total_time_secs: f64,
pub total_bytes: u64,
pub avg_download_speed: f64,
pub packages_per_sec: f64,
}Expand description
Installation statistics
Fields§
§total_installed: usizeTotal packages installed
total_failed: usizeTotal packages failed
total_time_secs: f64Total time taken in seconds
total_bytes: u64Total bytes downloaded
avg_download_speed: f64Average download speed in bytes/sec
packages_per_sec: f64Packages installed per second
Trait Implementations§
Source§impl Clone for InstallationStatistics
impl Clone for InstallationStatistics
Source§fn clone(&self) -> InstallationStatistics
fn clone(&self) -> InstallationStatistics
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 moreAuto Trait Implementations§
impl Freeze for InstallationStatistics
impl RefUnwindSafe for InstallationStatistics
impl Send for InstallationStatistics
impl Sync for InstallationStatistics
impl Unpin for InstallationStatistics
impl UnsafeUnpin for InstallationStatistics
impl UnwindSafe for InstallationStatistics
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more