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