pub enum Acl {
Default,
Private,
PublicRead,
PublicReadWrite,
}Expand description
Access permissions (ACL)
Variants§
Default
Only for object ACL; indicates the object’s ACL inherits the bucket ACL
Private
Private; all read and write requests require authorization
PublicRead
Public read; objects can be read anonymously but not written
PublicReadWrite
Public read/write; objects can be read and written anonymously
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Acl
impl<'de> Deserialize<'de> for Acl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Acl
impl RefUnwindSafe for Acl
impl Send for Acl
impl Sync for Acl
impl Unpin for Acl
impl UnwindSafe for Acl
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