[][src]Enum tame_gcs::Scopes

pub enum Scopes {
    ReadOnly,
    ReadWrite,
    FullControl,
    CloudPlatformReadOnly,
    CloudPlatform,
}

The oauth scopes that pertain to Google Cloud Storage.

Variants

ReadOnly

Only allows access to read data, including listing buckets.

ReadWrite

Allows access to read and change data, but not metadata like IAM policies.

FullControl

Allows full control over data, including the ability to modify IAM policies.

CloudPlatformReadOnly

View your data across Google Cloud Platform services. For Cloud Storage, this is the same as devstorage.read-only.

CloudPlatform

View and manage data across all Google Cloud Platform services. For Cloud Storage, this is the same as devstorage.full-control.

Trait Implementations

impl AsRef<str> for Scopes[src]

impl Clone for Scopes[src]

impl Copy for Scopes[src]

impl Debug for Scopes[src]

impl Eq for Scopes[src]

impl PartialEq<Scopes> for Scopes[src]

impl StructuralEq for Scopes[src]

impl StructuralPartialEq for Scopes[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> 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.