pub struct UploadPartFromFileInput { /* private fields */ }Implementations§
Source§impl UploadPartFromFileInput
impl UploadPartFromFileInput
pub fn ssec_algorithm(&self) -> &str
pub fn ssec_key(&self) -> &str
pub fn ssec_key_md5(&self) -> &str
pub fn set_ssec_algorithm(&mut self, ssec_algorithm: impl Into<String>)
pub fn set_ssec_key(&mut self, ssec_key: impl Into<String>)
pub fn set_ssec_key_md5(&mut self, ssec_key_md5: impl Into<String>)
Source§impl UploadPartFromFileInput
impl UploadPartFromFileInput
pub fn upload_id(&self) -> &str
pub fn part_number(&self) -> isize
pub fn set_upload_id(&mut self, upload_id: impl Into<String>)
pub fn set_part_number(&mut self, part_number: isize)
Source§impl UploadPartFromFileInput
impl UploadPartFromFileInput
pub fn request_date(&self) -> Option<DateTime<Utc>>
pub fn request_host(&self) -> &str
pub fn request_header(&self) -> &Option<HashMap<String, String>>
pub fn request_query(&self) -> &Option<HashMap<String, String>>
pub fn set_request_date(&mut self, request_date: impl Into<DateTime<Utc>>)
pub fn set_request_host(&mut self, request_host: impl Into<String>)
pub fn set_request_header( &mut self, request_header: impl Into<HashMap<String, String>>, )
pub fn set_request_query( &mut self, request_query: impl Into<HashMap<String, String>>, )
Source§impl UploadPartFromFileInput
impl UploadPartFromFileInput
pub fn new( bucket: impl Into<String>, key: impl Into<String>, upload_id: impl Into<String>, ) -> Self
pub fn new_with_part_number( bucket: impl Into<String>, key: impl Into<String>, upload_id: impl Into<String>, part_number: isize, ) -> Self
pub fn new_with_file_path( bucket: impl Into<String>, key: impl Into<String>, upload_id: impl Into<String>, file_path: impl Into<String>, ) -> Self
pub fn new_with_part_number_file_path( bucket: impl Into<String>, key: impl Into<String>, upload_id: impl Into<String>, part_number: isize, file_path: impl Into<String>, ) -> Self
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn file_path(&self) -> &str
pub fn offset(&self) -> i64
pub fn part_size(&self) -> i64
pub fn content_md5(&self) -> &str
pub fn traffic_limit(&self) -> i64
pub fn rate_limiter(&self) -> &Option<Arc<RateLimiter>>
pub fn set_bucket(&mut self, bucket: impl Into<String>)
pub fn set_key(&mut self, key: impl Into<String>)
pub fn set_file_path(&mut self, file_path: impl Into<String>)
pub fn set_offset(&mut self, offset: i64)
pub fn set_part_size(&mut self, part_size: i64)
pub fn set_content_md5(&mut self, content_md5: impl Into<String>)
pub fn set_traffic_limit(&mut self, traffic_limit: i64)
pub fn set_rate_limiter(&mut self, rate_limiter: impl Into<Arc<RateLimiter>>)
Trait Implementations§
Source§impl DataTransferListener for UploadPartFromFileInput
impl DataTransferListener for UploadPartFromFileInput
fn data_transfer_listener(&self) -> &Option<Sender<DataTransferStatus>>
fn set_data_transfer_listener( &mut self, listener: impl Into<Sender<DataTransferStatus>>, )
Source§impl Debug for UploadPartFromFileInput
impl Debug for UploadPartFromFileInput
Source§impl Default for UploadPartFromFileInput
impl Default for UploadPartFromFileInput
Auto Trait Implementations§
impl Freeze for UploadPartFromFileInput
impl RefUnwindSafe for UploadPartFromFileInput
impl Send for UploadPartFromFileInput
impl Sync for UploadPartFromFileInput
impl Unpin for UploadPartFromFileInput
impl UnsafeUnpin for UploadPartFromFileInput
impl UnwindSafe for UploadPartFromFileInput
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