pub struct SetObjectMetaInput { /* private fields */ }Implementations§
Source§impl SetObjectMetaInput
impl SetObjectMetaInput
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 SetObjectMetaInput
impl SetObjectMetaInput
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 SetObjectMetaInput
impl SetObjectMetaInput
pub fn new(bucket: impl Into<String>, key: impl Into<String>) -> Self
pub fn new_with_version_id( bucket: impl Into<String>, key: impl Into<String>, version_id: impl Into<String>, ) -> Self
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn version_id(&self) -> &str
pub fn meta(&self) -> &HashMap<String, String>
pub fn metadata_directive(&self) -> &Option<MetadataDirectiveType>
pub fn set_bucket(&mut self, bucket: impl Into<String>)
pub fn set_key(&mut self, key: impl Into<String>)
pub fn set_version_id(&mut self, version_id: impl Into<String>)
pub fn set_meta(&mut self, meta: impl Into<HashMap<String, String>>)
pub fn set_metadata_directive( &mut self, metadata_directive: impl Into<MetadataDirectiveType>, )
Trait Implementations§
Source§impl Clone for SetObjectMetaInput
impl Clone for SetObjectMetaInput
Source§fn clone(&self) -> SetObjectMetaInput
fn clone(&self) -> SetObjectMetaInput
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 SetObjectMetaInput
impl Debug for SetObjectMetaInput
Source§impl Default for SetObjectMetaInput
impl Default for SetObjectMetaInput
Source§fn default() -> SetObjectMetaInput
fn default() -> SetObjectMetaInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetObjectMetaInput
impl PartialEq for SetObjectMetaInput
impl StructuralPartialEq for SetObjectMetaInput
Auto Trait Implementations§
impl Freeze for SetObjectMetaInput
impl RefUnwindSafe for SetObjectMetaInput
impl Send for SetObjectMetaInput
impl Sync for SetObjectMetaInput
impl Unpin for SetObjectMetaInput
impl UnsafeUnpin for SetObjectMetaInput
impl UnwindSafe for SetObjectMetaInput
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