pub struct FetchProgress {
pub received: u64,
pub total: Option<u64>,
pub speed_bps: u64,
}Fields§
§received: u64§total: Option<u64>§speed_bps: u64Trait Implementations§
Source§impl Clone for FetchProgress
impl Clone for FetchProgress
Source§fn clone(&self) -> FetchProgress
fn clone(&self) -> FetchProgress
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 FetchProgress
impl Debug for FetchProgress
Source§impl PartialEq for FetchProgress
impl PartialEq for FetchProgress
Source§fn eq(&self, other: &FetchProgress) -> bool
fn eq(&self, other: &FetchProgress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FetchProgress
impl Eq for FetchProgress
impl StructuralPartialEq for FetchProgress
Auto Trait Implementations§
impl Freeze for FetchProgress
impl RefUnwindSafe for FetchProgress
impl Send for FetchProgress
impl Sync for FetchProgress
impl Unpin for FetchProgress
impl UnsafeUnpin for FetchProgress
impl UnwindSafe for FetchProgress
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