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