pub enum CloudResourceManagerAPIv3 {
AuthCloudPlatform,
AuthCloudPlatformReadOnly,
}Expand description
Cloud Resource Manager API, v3
Variants§
AuthCloudPlatform
Documentation: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account., Scope: https://www.googleapis.com/auth/cloud-platform
AuthCloudPlatformReadOnly
Documentation: View your data across Google Cloud services and see the email address of your Google Account, Scope: https://www.googleapis.com/auth/cloud-platform.read-only
Trait Implementations§
Source§impl Clone for CloudResourceManagerAPIv3
impl Clone for CloudResourceManagerAPIv3
Source§fn clone(&self) -> CloudResourceManagerAPIv3
fn clone(&self) -> CloudResourceManagerAPIv3
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 CloudResourceManagerAPIv3
impl Debug for CloudResourceManagerAPIv3
Source§impl FromGoogleScope<CloudResourceManagerAPIv3> for CloudResourceManagerAPIv3
impl FromGoogleScope<CloudResourceManagerAPIv3> for CloudResourceManagerAPIv3
Source§fn from_google_scope(
google_scope: &str,
) -> Result<CloudResourceManagerAPIv3, ()>
fn from_google_scope( google_scope: &str, ) -> Result<CloudResourceManagerAPIv3, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudResourceManagerAPIv3
impl Hash for CloudResourceManagerAPIv3
Source§impl ToGoogleScope for CloudResourceManagerAPIv3
impl ToGoogleScope for CloudResourceManagerAPIv3
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudResourceManagerAPIv3
impl Eq for CloudResourceManagerAPIv3
impl StructuralPartialEq for CloudResourceManagerAPIv3
Auto Trait Implementations§
impl Freeze for CloudResourceManagerAPIv3
impl RefUnwindSafe for CloudResourceManagerAPIv3
impl Send for CloudResourceManagerAPIv3
impl Sync for CloudResourceManagerAPIv3
impl Unpin for CloudResourceManagerAPIv3
impl UnwindSafe for CloudResourceManagerAPIv3
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