pub struct PutObjectACLInput { /* private fields */ }Implementations§
Source§impl PutObjectACLInput
impl PutObjectACLInput
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 PutObjectACLInput
impl PutObjectACLInput
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 PutObjectACLInput
impl PutObjectACLInput
pub fn new(bucket: impl Into<String>, key: impl Into<String>) -> Self
pub fn new_with_acl( bucket: impl Into<String>, key: impl Into<String>, acl: impl Into<ACLType>, ) -> 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 owner(&self) -> &Owner
pub fn grants(&self) -> &Vec<Grant>
pub fn bucket_owner_entrusted(&self) -> bool
pub fn is_default(&self) -> bool
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_owner(&mut self, owner: impl Into<Owner>)
pub fn set_grants(&mut self, grants: impl Into<Vec<Grant>>)
pub fn set_bucket_owner_entrusted(&mut self, bucket_owner_entrusted: bool)
pub fn set_is_default(&mut self, is_default: bool)
Trait Implementations§
Source§impl Clone for PutObjectACLInput
impl Clone for PutObjectACLInput
Source§fn clone(&self) -> PutObjectACLInput
fn clone(&self) -> PutObjectACLInput
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 PutObjectACLInput
impl Debug for PutObjectACLInput
Source§impl Default for PutObjectACLInput
impl Default for PutObjectACLInput
Source§fn default() -> PutObjectACLInput
fn default() -> PutObjectACLInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for PutObjectACLInput
impl PartialEq for PutObjectACLInput
Source§impl Serialize for PutObjectACLInput
impl Serialize for PutObjectACLInput
impl StructuralPartialEq for PutObjectACLInput
Auto Trait Implementations§
impl Freeze for PutObjectACLInput
impl RefUnwindSafe for PutObjectACLInput
impl Send for PutObjectACLInput
impl Sync for PutObjectACLInput
impl Unpin for PutObjectACLInput
impl UnsafeUnpin for PutObjectACLInput
impl UnwindSafe for PutObjectACLInput
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