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