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