pub struct UploadOptions {
pub content_type: Option<String>,
pub metadata: HashMap<String, String>,
pub multipart: Option<bool>,
pub chunk_size: Option<usize>,
pub calculate_checksum: bool,
pub checksum_algorithm: Option<String>,
pub encrypt: bool,
pub compress: bool,
pub retry_config: Option<RetryConfig>,
}Expand description
Upload options
Fields§
§content_type: Option<String>Content type override
metadata: HashMap<String, String>File metadata
multipart: Option<bool>Enable multipart upload for large files
chunk_size: Option<usize>Chunk size for multipart upload
calculate_checksum: boolCalculate checksum during upload
checksum_algorithm: Option<String>Checksum algorithm
encrypt: boolUpload with encryption
compress: boolUpload with compression
retry_config: Option<RetryConfig>Retry configuration
Trait Implementations§
Source§impl Clone for UploadOptions
impl Clone for UploadOptions
Source§impl Debug for UploadOptions
impl Debug for UploadOptions
Auto Trait Implementations§
impl Freeze for UploadOptions
impl RefUnwindSafe for UploadOptions
impl Send for UploadOptions
impl Sync for UploadOptions
impl Unpin for UploadOptions
impl UnsafeUnpin for UploadOptions
impl UnwindSafe for UploadOptions
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