pub struct TransferStats {
pub files: usize,
pub bytes: u64,
}Available on crate feature
cli only.Expand description
Represents statistics from transferring files.
Fields§
§files: usizeThe number of files that were transferred.
bytes: u64The total number of bytes transferred for all files.
Trait Implementations§
Source§impl Clone for TransferStats
impl Clone for TransferStats
Source§fn clone(&self) -> TransferStats
fn clone(&self) -> TransferStats
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 TransferStats
impl Debug for TransferStats
Source§impl Default for TransferStats
impl Default for TransferStats
Source§fn default() -> TransferStats
fn default() -> TransferStats
Returns the “default value” for a type. Read more
impl Copy for TransferStats
Auto Trait Implementations§
impl Freeze for TransferStats
impl RefUnwindSafe for TransferStats
impl Send for TransferStats
impl Sync for TransferStats
impl Unpin for TransferStats
impl UnwindSafe for TransferStats
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