pub struct CreateZipFileRequest {
pub data: CreateZipFileData,
}
Expand description
Request to create a ZIP file
Fields§
§data: CreateZipFileData
Implementations§
Source§impl CreateZipFileRequest
Helper methods for creating ZIP files
impl CreateZipFileRequest
Helper methods for creating ZIP files
Sourcepub fn new_with_password(hashes: Vec<String>, password: String) -> Self
pub fn new_with_password(hashes: Vec<String>, password: String) -> Self
Create a new password-protected ZIP file request
Sourcepub fn with_password(self, password: String) -> Self
pub fn with_password(self, password: String) -> Self
Set password for the ZIP file
Sourcepub fn add_hashes(self, hashes: Vec<String>) -> Self
pub fn add_hashes(self, hashes: Vec<String>) -> Self
Add multiple hashes to the ZIP file
Trait Implementations§
Source§impl Clone for CreateZipFileRequest
impl Clone for CreateZipFileRequest
Source§fn clone(&self) -> CreateZipFileRequest
fn clone(&self) -> CreateZipFileRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateZipFileRequest
impl Debug for CreateZipFileRequest
Source§impl<'de> Deserialize<'de> for CreateZipFileRequest
impl<'de> Deserialize<'de> for CreateZipFileRequest
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 CreateZipFileRequest
impl RefUnwindSafe for CreateZipFileRequest
impl Send for CreateZipFileRequest
impl Sync for CreateZipFileRequest
impl Unpin for CreateZipFileRequest
impl UnwindSafe for CreateZipFileRequest
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