pub struct ArchiveComplete {
pub success: bool,
pub total_size: u64,
pub archive_hash: String,
pub error: Option<String>,
}Expand description
Client reports the final outcome of the archive transfer.
Fields§
§success: boolWhether the client considers the transfer successful.
total_size: u64Total bytes received by the server.
archive_hash: StringSHA-256 hash of the encrypted archive (hex-encoded).
error: Option<String>Error description if success is false.
Trait Implementations§
Source§impl Clone for ArchiveComplete
impl Clone for ArchiveComplete
Source§fn clone(&self) -> ArchiveComplete
fn clone(&self) -> ArchiveComplete
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 ArchiveComplete
impl Debug for ArchiveComplete
Source§impl<'de> Deserialize<'de> for ArchiveComplete
impl<'de> Deserialize<'de> for ArchiveComplete
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 ArchiveComplete
impl RefUnwindSafe for ArchiveComplete
impl Send for ArchiveComplete
impl Sync for ArchiveComplete
impl Unpin for ArchiveComplete
impl UnsafeUnpin for ArchiveComplete
impl UnwindSafe for ArchiveComplete
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