pub enum CloudProfilerAPIv2 {
AuthCloudPlatform,
AuthMonitoring,
AuthMonitoringWrite,
}Expand description
Cloud Profiler 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
AuthMonitoring
Documentation: View and write monitoring data for all of your Google and third-party Cloud and API projects, Scope: https://www.googleapis.com/auth/monitoring
AuthMonitoringWrite
Documentation: Publish metric data to your Google Cloud projects, Scope: https://www.googleapis.com/auth/monitoring.write
Trait Implementations§
Source§impl Clone for CloudProfilerAPIv2
impl Clone for CloudProfilerAPIv2
Source§fn clone(&self) -> CloudProfilerAPIv2
fn clone(&self) -> CloudProfilerAPIv2
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 CloudProfilerAPIv2
impl Debug for CloudProfilerAPIv2
Source§impl FromGoogleScope<CloudProfilerAPIv2> for CloudProfilerAPIv2
impl FromGoogleScope<CloudProfilerAPIv2> for CloudProfilerAPIv2
Source§fn from_google_scope(google_scope: &str) -> Result<CloudProfilerAPIv2, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudProfilerAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudProfilerAPIv2
impl Hash for CloudProfilerAPIv2
Source§impl PartialEq for CloudProfilerAPIv2
impl PartialEq for CloudProfilerAPIv2
Source§impl ToGoogleScope for CloudProfilerAPIv2
impl ToGoogleScope for CloudProfilerAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudProfilerAPIv2
impl Eq for CloudProfilerAPIv2
impl StructuralPartialEq for CloudProfilerAPIv2
Auto Trait Implementations§
impl Freeze for CloudProfilerAPIv2
impl RefUnwindSafe for CloudProfilerAPIv2
impl Send for CloudProfilerAPIv2
impl Sync for CloudProfilerAPIv2
impl Unpin for CloudProfilerAPIv2
impl UnwindSafe for CloudProfilerAPIv2
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