pub struct ArchiveRequest {
pub project_uuid: Uuid,
pub project_name: String,
pub total_size: u64,
pub file_count: u32,
pub compression: bool,
}Expand description
Client requests permission to upload a project archive.
Fields§
§project_uuid: UuidUUID of the project being archived.
project_name: StringHuman-readable project name.
total_size: u64Total size of the encrypted archive in bytes.
file_count: u32Number of files in the project (for progress granularity).
compression: boolWhether the archive is compressed.
Trait Implementations§
Source§impl Clone for ArchiveRequest
impl Clone for ArchiveRequest
Source§fn clone(&self) -> ArchiveRequest
fn clone(&self) -> ArchiveRequest
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 ArchiveRequest
impl Debug for ArchiveRequest
Source§impl<'de> Deserialize<'de> for ArchiveRequest
impl<'de> Deserialize<'de> for ArchiveRequest
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 ArchiveRequest
impl RefUnwindSafe for ArchiveRequest
impl Send for ArchiveRequest
impl Sync for ArchiveRequest
impl Unpin for ArchiveRequest
impl UnsafeUnpin for ArchiveRequest
impl UnwindSafe for ArchiveRequest
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