pub struct RestoreAccept {
pub session_id: Uuid,
pub total_size: u64,
pub file_count: u32,
pub archive_hash: String,
}Expand description
Server accepts the restore request and provides metadata.
Fields§
§session_id: UuidSession identifier for correlating subsequent file chunks.
total_size: u64Total size of the encrypted archive in bytes.
file_count: u32Number of files in the archive.
archive_hash: StringSHA-256 hash of the archive (hex-encoded) for client-side integrity verification after download.
Trait Implementations§
Source§impl Clone for RestoreAccept
impl Clone for RestoreAccept
Source§fn clone(&self) -> RestoreAccept
fn clone(&self) -> RestoreAccept
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 RestoreAccept
impl Debug for RestoreAccept
Source§impl<'de> Deserialize<'de> for RestoreAccept
impl<'de> Deserialize<'de> for RestoreAccept
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 RestoreAccept
impl RefUnwindSafe for RestoreAccept
impl Send for RestoreAccept
impl Sync for RestoreAccept
impl Unpin for RestoreAccept
impl UnsafeUnpin for RestoreAccept
impl UnwindSafe for RestoreAccept
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