pub struct PutObjectFromFileInput { /* private fields */ }Implementations§
Source§impl PutObjectFromFileInput
impl PutObjectFromFileInput
pub fn content_length(&self) -> i64
pub fn cache_control(&self) -> &str
pub fn content_disposition(&self) -> &str
pub fn content_encoding(&self) -> &str
pub fn content_language(&self) -> &str
pub fn content_type(&self) -> &str
pub fn expires(&self) -> Option<DateTime<Utc>>
pub fn set_content_length(&mut self, content_length: i64)
pub fn set_cache_control(&mut self, cache_control: impl Into<String>)
pub fn set_content_disposition( &mut self, content_disposition: impl Into<String>, )
pub fn set_content_encoding(&mut self, content_encoding: impl Into<String>)
pub fn set_content_language(&mut self, content_language: impl Into<String>)
pub fn set_content_type(&mut self, content_type: impl Into<String>)
pub fn set_expires(&mut self, expires: impl Into<DateTime<Utc>>)
Source§impl PutObjectFromFileInput
impl PutObjectFromFileInput
pub fn acl(&self) -> &Option<ACLType>
pub fn grant_full_control(&self) -> &str
pub fn grant_read(&self) -> &str
pub fn grant_read_acp(&self) -> &str
pub fn grant_write_acp(&self) -> &str
pub fn set_acl(&mut self, acl: impl Into<ACLType>)
pub fn set_grant_full_control(&mut self, grant_full_control: impl Into<String>)
pub fn set_grant_read(&mut self, grant_read: impl Into<String>)
pub fn set_grant_read_acp(&mut self, grant_read_acp: impl Into<String>)
pub fn set_grant_write_acp(&mut self, grant_write_acp: impl Into<String>)
Source§impl PutObjectFromFileInput
impl PutObjectFromFileInput
pub fn server_side_encryption(&self) -> &str
pub fn server_side_encryption_key_id(&self) -> &str
pub fn set_server_side_encryption( &mut self, server_side_encryption: impl Into<String>, )
pub fn set_server_side_encryption_key_id( &mut self, server_side_encryption_key_id: impl Into<String>, )
Source§impl PutObjectFromFileInput
impl PutObjectFromFileInput
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 PutObjectFromFileInput
impl PutObjectFromFileInput
pub fn website_redirect_location(&self) -> &str
pub fn storage_class(&self) -> &Option<StorageClassType>
pub fn set_website_redirect_location( &mut self, website_redirect_location: impl Into<String>, )
pub fn set_storage_class(&mut self, storage_class: impl Into<StorageClassType>)
Source§impl PutObjectFromFileInput
impl PutObjectFromFileInput
pub fn callback(&self) -> &str
pub fn callback_var(&self) -> &str
pub fn set_callback(&mut self, callback: impl Into<String>)
pub fn set_callback_var(&mut self, callback_var: impl Into<String>)
Source§impl PutObjectFromFileInput
impl PutObjectFromFileInput
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 PutObjectFromFileInput
impl PutObjectFromFileInput
pub fn new(bucket: impl Into<String>, key: impl Into<String>) -> Self
pub fn new_with_file_path( bucket: impl Into<String>, key: impl Into<String>, file_path: impl Into<String>, ) -> Self
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn file_path(&self) -> &str
pub fn content_md5(&self) -> &str
pub fn content_sha256(&self) -> &str
pub fn meta(&self) -> &HashMap<String, String>
pub fn traffic_limit(&self) -> i64
pub fn forbid_overwrite(&self) -> bool
pub fn if_match(&self) -> &str
pub fn if_none_match(&self) -> &str
pub fn tagging(&self) -> &str
pub fn object_expires(&self) -> i64
pub fn rate_limiter(&self) -> &Option<Arc<RateLimiter>>
pub fn notification_custom_parameters(&mut self) -> &str
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_content_md5(&mut self, content_md5: impl Into<String>)
pub fn set_content_sha256(&mut self, content_sha256: impl Into<String>)
pub fn set_meta(&mut self, meta: impl Into<HashMap<String, String>>)
pub fn set_traffic_limit(&mut self, traffic_limit: i64)
pub fn set_forbid_overwrite(&mut self, forbid_overwrite: bool)
pub fn set_if_match(&mut self, if_match: impl Into<String>)
pub fn set_if_none_match(&mut self, if_none_match: impl Into<String>)
pub fn set_tagging(&mut self, tagging: impl Into<String>)
pub fn set_object_expires(&mut self, object_expires: i64)
pub fn set_rate_limiter(&mut self, rate_limiter: impl Into<Arc<RateLimiter>>)
pub fn set_notification_custom_parameters( &mut self, notification_custom_parameters: impl Into<String>, )
Trait Implementations§
Source§impl DataTransferListener for PutObjectFromFileInput
impl DataTransferListener for PutObjectFromFileInput
fn data_transfer_listener(&self) -> &Option<Sender<DataTransferStatus>>
fn set_data_transfer_listener( &mut self, listener: impl Into<Sender<DataTransferStatus>>, )
Source§impl Debug for PutObjectFromFileInput
impl Debug for PutObjectFromFileInput
Source§impl Default for PutObjectFromFileInput
impl Default for PutObjectFromFileInput
Auto Trait Implementations§
impl Freeze for PutObjectFromFileInput
impl RefUnwindSafe for PutObjectFromFileInput
impl Send for PutObjectFromFileInput
impl Sync for PutObjectFromFileInput
impl Unpin for PutObjectFromFileInput
impl UnsafeUnpin for PutObjectFromFileInput
impl UnwindSafe for PutObjectFromFileInput
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