pub enum APIKeysAPIv2 {
AuthCloudPlatform,
AuthCloudPlatformReadOnly,
}Expand description
API Keys API, v2
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 APIKeysAPIv2
impl Clone for APIKeysAPIv2
Source§fn clone(&self) -> APIKeysAPIv2
fn clone(&self) -> APIKeysAPIv2
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 APIKeysAPIv2
impl Debug for APIKeysAPIv2
Source§impl FromGoogleScope<APIKeysAPIv2> for APIKeysAPIv2
impl FromGoogleScope<APIKeysAPIv2> for APIKeysAPIv2
Source§fn from_google_scope(google_scope: &str) -> Result<APIKeysAPIv2, ()>
fn from_google_scope(google_scope: &str) -> Result<APIKeysAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for APIKeysAPIv2
impl Hash for APIKeysAPIv2
Source§impl PartialEq for APIKeysAPIv2
impl PartialEq for APIKeysAPIv2
Source§impl ToGoogleScope for APIKeysAPIv2
impl ToGoogleScope for APIKeysAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for APIKeysAPIv2
impl Eq for APIKeysAPIv2
impl StructuralPartialEq for APIKeysAPIv2
Auto Trait Implementations§
impl Freeze for APIKeysAPIv2
impl RefUnwindSafe for APIKeysAPIv2
impl Send for APIKeysAPIv2
impl Sync for APIKeysAPIv2
impl Unpin for APIKeysAPIv2
impl UnsafeUnpin for APIKeysAPIv2
impl UnwindSafe for APIKeysAPIv2
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