Enum tame_gcs::common::PredefinedAcl[][src]

pub enum PredefinedAcl {
    AuthenticatedRead,
    BucketOwnerFullControl,
    BucketOwnerRead,
    Private,
    ProjectPrivate,
    PublicRead,
}

A predefined or “canned” ACL is an alias for a set of specific ACL entries that you can use to quickly apply many ACL entries at once to a bucket or object. Predefined ACLs are defined for common scenarios such as revoking all access permissions except for owner permission (predefined ACL private), or making an object publicly readable (predefined ACL publicRead).

Variants

AuthenticatedRead

Object owner gets OWNER access, and allAuthenticatedUsers get READER access.

BucketOwnerFullControl

Object owner gets OWNER access, and project team owners get OWNER access.

BucketOwnerRead

Object owner gets OWNER access, and project team owners get READER access.

Private

Object owner gets OWNER access.

ProjectPrivate

Object owner gets OWNER access, and project team members get access according to their roles.

PublicRead

Object owner gets OWNER access, and allUsers get READER access.

Trait Implementations

impl Clone for PredefinedAcl[src]

impl Copy for PredefinedAcl[src]

impl Debug for PredefinedAcl[src]

impl Eq for PredefinedAcl[src]

impl PartialEq<PredefinedAcl> for PredefinedAcl[src]

impl Serialize for PredefinedAcl[src]

impl StructuralEq for PredefinedAcl[src]

impl StructuralPartialEq for PredefinedAcl[src]

Auto Trait Implementations

impl RefUnwindSafe for PredefinedAcl

impl Send for PredefinedAcl

impl Sync for PredefinedAcl

impl Unpin for PredefinedAcl

impl UnwindSafe for PredefinedAcl

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.