pub struct ProgressSnapshot {
pub timestamp: u64,
pub bytes_downloaded: u64,
}Expand description
A snapshot of progress at a specific point in time.
Fields§
§timestamp: u64Timestamp of the snapshot
bytes_downloaded: u64Bytes downloaded at that point
Trait Implementations§
Source§impl Clone for ProgressSnapshot
impl Clone for ProgressSnapshot
Source§fn clone(&self) -> ProgressSnapshot
fn clone(&self) -> ProgressSnapshot
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 ProgressSnapshot
impl RefUnwindSafe for ProgressSnapshot
impl Send for ProgressSnapshot
impl Sync for ProgressSnapshot
impl Unpin for ProgressSnapshot
impl UnsafeUnpin for ProgressSnapshot
impl UnwindSafe for ProgressSnapshot
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