pub struct FetchObjectInput { /* private fields */ }Implementations§
Source§impl FetchObjectInput
impl FetchObjectInput
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_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 FetchObjectInput
impl FetchObjectInput
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 FetchObjectInput
impl FetchObjectInput
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 FetchObjectInput
impl FetchObjectInput
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 FetchObjectInput
impl FetchObjectInput
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 FetchObjectInput
impl FetchObjectInput
pub fn object_lock_mode(&self) -> &Option<ObjectLockModeType>
pub fn object_lock_retain_util_date(&self) -> Option<DateTime<Utc>>
pub fn set_object_lock_mode( &mut self, object_lock_mode: impl Into<ObjectLockModeType>, )
pub fn set_object_lock_retain_util_date( &mut self, object_lock_retain_util_date: impl Into<DateTime<Utc>>, )
Source§impl FetchObjectInput
impl FetchObjectInput
pub fn if_match(&self) -> &str
pub fn if_none_match(&self) -> &str
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>)
Source§impl FetchObjectInput
impl FetchObjectInput
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 FetchObjectInput
impl FetchObjectInput
pub fn new(bucket: impl Into<String>, key: impl Into<String>) -> Self
pub fn new_with_url( bucket: impl Into<String>, key: impl Into<String>, url: impl Into<String>, ) -> Self
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn url(&self) -> &str
pub fn ignore_same_key(&self) -> bool
pub fn content_md5(&self) -> &str
pub fn meta(&self) -> &HashMap<String, String>
pub fn traffic_limit(&self) -> i64
pub fn forbid_overwrite(&self) -> bool
pub fn tagging(&self) -> &str
pub fn notification_custom_parameters(&self) -> &str
pub fn detect_mime_type(&self) -> bool
pub fn object_expires(&self) -> i64
pub fn set_bucket(&mut self, bucket: impl Into<String>)
pub fn set_key(&mut self, key: impl Into<String>)
pub fn set_url(&mut self, url: impl Into<String>)
pub fn set_ignore_same_key(&mut self, ignore_same_key: bool)
pub fn set_content_md5(&mut self, content_md5: 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_tagging(&mut self, tagging: impl Into<String>)
pub fn set_notification_custom_parameters( &mut self, notification_custom_parameters: impl Into<String>, )
pub fn set_detect_mime_type(&mut self, detect_mime_type: bool)
pub fn set_object_expires(&mut self, object_expires: i64)
Trait Implementations§
Source§impl Clone for FetchObjectInput
impl Clone for FetchObjectInput
Source§fn clone(&self) -> FetchObjectInput
fn clone(&self) -> FetchObjectInput
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 FetchObjectInput
impl Debug for FetchObjectInput
Source§impl Default for FetchObjectInput
impl Default for FetchObjectInput
Source§impl GenericInputTrait for FetchObjectInput
impl GenericInputTrait for FetchObjectInput
Auto Trait Implementations§
impl Freeze for FetchObjectInput
impl RefUnwindSafe for FetchObjectInput
impl Send for FetchObjectInput
impl Sync for FetchObjectInput
impl Unpin for FetchObjectInput
impl UnsafeUnpin for FetchObjectInput
impl UnwindSafe for FetchObjectInput
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