Struct s3::bucket_ops::BucketConfiguration
source · pub struct BucketConfiguration { /* private fields */ }
Implementations§
source§impl BucketConfiguration
impl BucketConfiguration
pub fn new( acl: CannedBucketAcl, object_lock_enabled: bool, grant_full_control: Option<Vec<BucketAcl>>, grant_read: Option<Vec<BucketAcl>>, grant_read_acp: Option<Vec<BucketAcl>>, grant_write: Option<Vec<BucketAcl>>, grant_write_acp: Option<Vec<BucketAcl>>, location_constraint: Option<Region> ) -> Self
pub fn public() -> Self
pub fn private() -> Self
pub fn set_region(&mut self, region: Region)
pub fn set_location_constraint(&mut self, region: Region)
pub fn location_constraint_payload(&self) -> Option<String>
pub fn add_headers(&self, headers: &mut HeaderMap) -> Result<(), S3Error>
Trait Implementations§
source§impl Clone for BucketConfiguration
impl Clone for BucketConfiguration
source§fn clone(&self) -> BucketConfiguration
fn clone(&self) -> BucketConfiguration
Returns a copy 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 BucketConfiguration
impl Debug for BucketConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for BucketConfiguration
impl Send for BucketConfiguration
impl Sync for BucketConfiguration
impl Unpin for BucketConfiguration
impl UnwindSafe for BucketConfiguration
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