pub struct ByteTotals {
pub total: u64,
pub to_transfer: u64,
pub already_stored: u64,
pub transferred: u64,
}Expand description
Byte totals for an add or get result: to_transfer + already_stored == total; transferred is what actually moved. Rows of unknown size count
in none.
Fields§
§total: u64§to_transfer: u64§already_stored: u64§transferred: u64Trait Implementations§
Source§impl Clone for ByteTotals
impl Clone for ByteTotals
impl Copy for ByteTotals
Source§impl Debug for ByteTotals
impl Debug for ByteTotals
Source§impl Default for ByteTotals
impl Default for ByteTotals
impl Eq for ByteTotals
Source§impl PartialEq for ByteTotals
impl PartialEq for ByteTotals
Source§impl Serialize for ByteTotals
impl Serialize for ByteTotals
impl StructuralPartialEq for ByteTotals
Auto Trait Implementations§
impl Freeze for ByteTotals
impl RefUnwindSafe for ByteTotals
impl Send for ByteTotals
impl Sync for ByteTotals
impl Unpin for ByteTotals
impl UnsafeUnpin for ByteTotals
impl UnwindSafe for ByteTotals
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more