pub struct DownloadStatistics {
pub TotalDownloads: u64,
pub SuccessfulDownloads: u64,
pub FailedDownloads: u64,
pub CancelledDownloads: u64,
pub TotalBytesDownloaded: u64,
pub TotalDownloadTimeSecs: f64,
pub AverageDownloadRate: f64,
pub PeakDownloadRate: u64,
pub ActiveDownloads: usize,
pub QueuedDownloads: usize,
}Expand description
Download statistics and analytics
Fields§
§TotalDownloads: u64§SuccessfulDownloads: u64§FailedDownloads: u64§CancelledDownloads: u64§TotalBytesDownloaded: u64§TotalDownloadTimeSecs: f64§AverageDownloadRate: f64§PeakDownloadRate: u64§ActiveDownloads: usize§QueuedDownloads: usizeTrait Implementations§
Source§impl Clone for DownloadStatistics
impl Clone for DownloadStatistics
Source§fn clone(&self) -> DownloadStatistics
fn clone(&self) -> DownloadStatistics
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 moreSource§impl Debug for DownloadStatistics
impl Debug for DownloadStatistics
Source§impl Default for DownloadStatistics
impl Default for DownloadStatistics
Source§impl<'de> Deserialize<'de> for DownloadStatistics
impl<'de> Deserialize<'de> for DownloadStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DownloadStatistics
impl RefUnwindSafe for DownloadStatistics
impl Send for DownloadStatistics
impl Sync for DownloadStatistics
impl Unpin for DownloadStatistics
impl UnwindSafe for DownloadStatistics
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].