[][src]Enum tiny_gcs::Scopes

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

The oauth scopes that pertain to Google Cloud Storage. See https://cloud.google.com/storage/docs/authentication

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]

Auto Trait Implementations

impl Send for Scopes

impl Sync for Scopes

Blanket Implementations

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.

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

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

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