[][src]Enum cloud_storage::bucket::IamRole

pub enum IamRole {
    Standard(StandardIamRole),
    Primitive(PrimitiveIamRole),
    Legacy(LegacyIamRole),
}

All possible roles that can exist in the IAM system. For a more comprehensive version, check Googles Documentation.

Variants

Standard(StandardIamRole)

Standard roles can be applied to either buckets or projects.

Primitive(PrimitiveIamRole)

Primitive roles are roles that must be added on a per-project basis.

Legacy roles are roles that can only be added to an individual bucket.

Trait Implementations

impl Debug for IamRole[src]

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

impl PartialEq<IamRole> for IamRole[src]

impl Serialize for IamRole[src]

impl StructuralPartialEq for IamRole[src]

Auto Trait Implementations

impl RefUnwindSafe for IamRole

impl Send for IamRole

impl Sync for IamRole

impl Unpin for IamRole

impl UnwindSafe for IamRole

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: for<'de> 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.