pub enum CloudDataLossPreventionDLPAPIv2 {
AuthCloudPlatform,
}Expand description
Cloud Data Loss Prevention (DLP) 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
Trait Implementations§
Source§impl Clone for CloudDataLossPreventionDLPAPIv2
impl Clone for CloudDataLossPreventionDLPAPIv2
Source§fn clone(&self) -> CloudDataLossPreventionDLPAPIv2
fn clone(&self) -> CloudDataLossPreventionDLPAPIv2
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 FromGoogleScope<CloudDataLossPreventionDLPAPIv2> for CloudDataLossPreventionDLPAPIv2
impl FromGoogleScope<CloudDataLossPreventionDLPAPIv2> for CloudDataLossPreventionDLPAPIv2
Source§fn from_google_scope(
google_scope: &str,
) -> Result<CloudDataLossPreventionDLPAPIv2, ()>
fn from_google_scope( google_scope: &str, ) -> Result<CloudDataLossPreventionDLPAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl PartialEq for CloudDataLossPreventionDLPAPIv2
impl PartialEq for CloudDataLossPreventionDLPAPIv2
Source§fn eq(&self, other: &CloudDataLossPreventionDLPAPIv2) -> bool
fn eq(&self, other: &CloudDataLossPreventionDLPAPIv2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ToGoogleScope for CloudDataLossPreventionDLPAPIv2
impl ToGoogleScope for CloudDataLossPreventionDLPAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudDataLossPreventionDLPAPIv2
impl Eq for CloudDataLossPreventionDLPAPIv2
impl StructuralPartialEq for CloudDataLossPreventionDLPAPIv2
Auto Trait Implementations§
impl Freeze for CloudDataLossPreventionDLPAPIv2
impl RefUnwindSafe for CloudDataLossPreventionDLPAPIv2
impl Send for CloudDataLossPreventionDLPAPIv2
impl Sync for CloudDataLossPreventionDLPAPIv2
impl Unpin for CloudDataLossPreventionDLPAPIv2
impl UnwindSafe for CloudDataLossPreventionDLPAPIv2
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