pub enum CloudTraceAPIv2 {
AuthCloudPlatform,
AuthTraceAppend,
}Expand description
Cloud Trace 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
AuthTraceAppend
Documentation: Write Trace data for a project or application, Scope: https://www.googleapis.com/auth/trace.append
Trait Implementations§
Source§impl Clone for CloudTraceAPIv2
impl Clone for CloudTraceAPIv2
Source§fn clone(&self) -> CloudTraceAPIv2
fn clone(&self) -> CloudTraceAPIv2
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 CloudTraceAPIv2
impl Debug for CloudTraceAPIv2
Source§impl FromGoogleScope<CloudTraceAPIv2> for CloudTraceAPIv2
impl FromGoogleScope<CloudTraceAPIv2> for CloudTraceAPIv2
Source§fn from_google_scope(google_scope: &str) -> Result<CloudTraceAPIv2, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudTraceAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudTraceAPIv2
impl Hash for CloudTraceAPIv2
Source§impl PartialEq for CloudTraceAPIv2
impl PartialEq for CloudTraceAPIv2
Source§impl ToGoogleScope for CloudTraceAPIv2
impl ToGoogleScope for CloudTraceAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudTraceAPIv2
impl Eq for CloudTraceAPIv2
impl StructuralPartialEq for CloudTraceAPIv2
Auto Trait Implementations§
impl Freeze for CloudTraceAPIv2
impl RefUnwindSafe for CloudTraceAPIv2
impl Send for CloudTraceAPIv2
impl Sync for CloudTraceAPIv2
impl Unpin for CloudTraceAPIv2
impl UnwindSafe for CloudTraceAPIv2
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