[][src]Enum cloud_storage::bucket::StandardIamRole

pub enum StandardIamRole {
    ObjectCreator,
    ObjectViewer,
    ObjectAdmin,
    HmacKeyAdmin,
    Admin,
}

The following enum contains Cloud Identity and Access Management (Cloud IAM) roles that are associated with Cloud Storage and lists the permissions that are contained in each role. Unless otherwise noted, these roles can be applied either to entire projects or specific buckets.

Variants

ObjectCreator

Allows users to create objects. Does not give permission to view, delete, or overwrite objects.

ObjectViewer

Grants access to view objects and their metadata, excluding ACLs.

Can also list the objects in a bucket.

ObjectAdmin

Grants full control over objects, including listing, creating, viewing, and deleting objects.

HmacKeyAdmin

Full control over HMAC keys in a project.

Admin

Grants full control of buckets and objects.

When applied to an individual bucket, control applies only to the specified bucket and objects within the bucket.

Trait Implementations

impl Debug for StandardIamRole[src]

impl<'de> Deserialize<'de> for StandardIamRole[src]

impl PartialEq<StandardIamRole> for StandardIamRole[src]

impl Serialize for StandardIamRole[src]

impl StructuralPartialEq for StandardIamRole[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

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.