pub struct PreparedDirectoryUpdate {
pub kind: PreparedDirectoryUpdateKind,
pub transaction: DirectoryUpdateTransaction,
pub transaction_path: PathBuf,
pub staging_path: PathBuf,
pub patch_path: PathBuf,
pub bytes_downloaded: u64,
pub saved_bytes: u64,
}Fields§
§kind: PreparedDirectoryUpdateKind§transaction: DirectoryUpdateTransaction§transaction_path: PathBuf§staging_path: PathBuf§patch_path: PathBuf§bytes_downloaded: u64§saved_bytes: u64Trait Implementations§
Source§impl Clone for PreparedDirectoryUpdate
impl Clone for PreparedDirectoryUpdate
Source§fn clone(&self) -> PreparedDirectoryUpdate
fn clone(&self) -> PreparedDirectoryUpdate
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 PreparedDirectoryUpdate
impl Debug for PreparedDirectoryUpdate
Source§impl<'de> Deserialize<'de> for PreparedDirectoryUpdate
impl<'de> Deserialize<'de> for PreparedDirectoryUpdate
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
Auto Trait Implementations§
impl Freeze for PreparedDirectoryUpdate
impl RefUnwindSafe for PreparedDirectoryUpdate
impl Send for PreparedDirectoryUpdate
impl Sync for PreparedDirectoryUpdate
impl Unpin for PreparedDirectoryUpdate
impl UnsafeUnpin for PreparedDirectoryUpdate
impl UnwindSafe for PreparedDirectoryUpdate
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