pub enum CloudSpannerAPIv1 {
AuthCloudPlatform,
AuthSpannerAdmin,
AuthSpannerData,
}Expand description
Cloud Spanner API, v1
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
AuthSpannerAdmin
Documentation: Administer your Spanner databases, Scope: https://www.googleapis.com/auth/spanner.admin
AuthSpannerData
Documentation: View and manage the contents of your Spanner databases, Scope: https://www.googleapis.com/auth/spanner.data
Trait Implementations§
Source§impl Clone for CloudSpannerAPIv1
impl Clone for CloudSpannerAPIv1
Source§fn clone(&self) -> CloudSpannerAPIv1
fn clone(&self) -> CloudSpannerAPIv1
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 CloudSpannerAPIv1
impl Debug for CloudSpannerAPIv1
Source§impl FromGoogleScope<CloudSpannerAPIv1> for CloudSpannerAPIv1
impl FromGoogleScope<CloudSpannerAPIv1> for CloudSpannerAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<CloudSpannerAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudSpannerAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudSpannerAPIv1
impl Hash for CloudSpannerAPIv1
Source§impl PartialEq for CloudSpannerAPIv1
impl PartialEq for CloudSpannerAPIv1
Source§impl ToGoogleScope for CloudSpannerAPIv1
impl ToGoogleScope for CloudSpannerAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudSpannerAPIv1
impl Eq for CloudSpannerAPIv1
impl StructuralPartialEq for CloudSpannerAPIv1
Auto Trait Implementations§
impl Freeze for CloudSpannerAPIv1
impl RefUnwindSafe for CloudSpannerAPIv1
impl Send for CloudSpannerAPIv1
impl Sync for CloudSpannerAPIv1
impl Unpin for CloudSpannerAPIv1
impl UnwindSafe for CloudSpannerAPIv1
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