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