pub struct TransferProgress {
pub direction: TransferDirection,
pub file_name: String,
pub bytes_done: u64,
pub bytes_total: u64,
}Fields§
§direction: TransferDirection§file_name: String§bytes_done: u64§bytes_total: u64Trait Implementations§
Source§impl Clone for TransferProgress
impl Clone for TransferProgress
Source§fn clone(&self) -> TransferProgress
fn clone(&self) -> TransferProgress
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 TransferProgress
impl Debug for TransferProgress
Source§impl<'de> Deserialize<'de> for TransferProgress
impl<'de> Deserialize<'de> for TransferProgress
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
Source§impl PartialEq for TransferProgress
impl PartialEq for TransferProgress
Source§fn eq(&self, other: &TransferProgress) -> bool
fn eq(&self, other: &TransferProgress) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransferProgress
impl Serialize for TransferProgress
impl Eq for TransferProgress
impl StructuralPartialEq for TransferProgress
Auto Trait Implementations§
impl Freeze for TransferProgress
impl RefUnwindSafe for TransferProgress
impl Send for TransferProgress
impl Sync for TransferProgress
impl Unpin for TransferProgress
impl UnsafeUnpin for TransferProgress
impl UnwindSafe for TransferProgress
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