pub enum CloudBillingAPIv1 {
AuthCloudBilling,
AuthCloudBillingReadOnly,
AuthCloudPlatform,
}Expand description
Cloud Billing API, v1
Variants§
AuthCloudBilling
Documentation: View and manage your Google Cloud Platform billing accounts, Scope: https://www.googleapis.com/auth/cloud-billing
AuthCloudBillingReadOnly
Documentation: View your Google Cloud Platform billing accounts, Scope: https://www.googleapis.com/auth/cloud-billing.readonly
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
Trait Implementations§
Source§impl Clone for CloudBillingAPIv1
impl Clone for CloudBillingAPIv1
Source§fn clone(&self) -> CloudBillingAPIv1
fn clone(&self) -> CloudBillingAPIv1
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 CloudBillingAPIv1
impl Debug for CloudBillingAPIv1
Source§impl FromGoogleScope<CloudBillingAPIv1> for CloudBillingAPIv1
impl FromGoogleScope<CloudBillingAPIv1> for CloudBillingAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<CloudBillingAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudBillingAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudBillingAPIv1
impl Hash for CloudBillingAPIv1
Source§impl PartialEq for CloudBillingAPIv1
impl PartialEq for CloudBillingAPIv1
Source§impl ToGoogleScope for CloudBillingAPIv1
impl ToGoogleScope for CloudBillingAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudBillingAPIv1
impl Eq for CloudBillingAPIv1
impl StructuralPartialEq for CloudBillingAPIv1
Auto Trait Implementations§
impl Freeze for CloudBillingAPIv1
impl RefUnwindSafe for CloudBillingAPIv1
impl Send for CloudBillingAPIv1
impl Sync for CloudBillingAPIv1
impl Unpin for CloudBillingAPIv1
impl UnwindSafe for CloudBillingAPIv1
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