pub enum CloudStorageJSONAPIv1 {
AuthCloudPlatform,
AuthCloudPlatformReadOnly,
AuthDevstorageFull_control,
AuthDevstorageRead_Only,
AuthDevstorageRead_write,
}Expand description
Cloud Storage JSON API, v1
Variants§
AuthCloudPlatform
Documentation: View and manage your data across Google Cloud Platform services, Scope: https://www.googleapis.com/auth/cloud-platform
AuthCloudPlatformReadOnly
Documentation: View your data across Google Cloud Platform services, Scope: https://www.googleapis.com/auth/cloud-platform.read-only
AuthDevstorageFull_control
Documentation: Manage your data and permissions in Google Cloud Storage, Scope: https://www.googleapis.com/auth/devstorage.full_control
AuthDevstorageRead_Only
Documentation: View your data in Google Cloud Storage, Scope: https://www.googleapis.com/auth/devstorage.read_only
AuthDevstorageRead_write
Documentation: Manage your data in Google Cloud Storage, Scope: https://www.googleapis.com/auth/devstorage.read_write
Trait Implementations§
Source§impl Clone for CloudStorageJSONAPIv1
impl Clone for CloudStorageJSONAPIv1
Source§fn clone(&self) -> CloudStorageJSONAPIv1
fn clone(&self) -> CloudStorageJSONAPIv1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudStorageJSONAPIv1
impl Debug for CloudStorageJSONAPIv1
Source§impl FromGoogleScope<CloudStorageJSONAPIv1> for CloudStorageJSONAPIv1
impl FromGoogleScope<CloudStorageJSONAPIv1> for CloudStorageJSONAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<CloudStorageJSONAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudStorageJSONAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudStorageJSONAPIv1
impl Hash for CloudStorageJSONAPIv1
Source§impl PartialEq for CloudStorageJSONAPIv1
impl PartialEq for CloudStorageJSONAPIv1
Source§impl ToGoogleScope for CloudStorageJSONAPIv1
impl ToGoogleScope for CloudStorageJSONAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudStorageJSONAPIv1
impl Eq for CloudStorageJSONAPIv1
impl StructuralPartialEq for CloudStorageJSONAPIv1
Auto Trait Implementations§
impl Freeze for CloudStorageJSONAPIv1
impl RefUnwindSafe for CloudStorageJSONAPIv1
impl Send for CloudStorageJSONAPIv1
impl Sync for CloudStorageJSONAPIv1
impl Unpin for CloudStorageJSONAPIv1
impl UnwindSafe for CloudStorageJSONAPIv1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more