pub enum GooglePlayGameServicesv1 {
AuthDriveAppdata,
AuthGames,
}Expand description
Google Play Game Services, v1
Variants§
AuthDriveAppdata
Documentation: See, create, and delete its own configuration data in your Google Drive, Scope: https://www.googleapis.com/auth/drive.appdata
AuthGames
Documentation: Create, edit, and delete your Google Play Games activity, Scope: https://www.googleapis.com/auth/games
Trait Implementations§
Source§impl Clone for GooglePlayGameServicesv1
impl Clone for GooglePlayGameServicesv1
Source§fn clone(&self) -> GooglePlayGameServicesv1
fn clone(&self) -> GooglePlayGameServicesv1
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 GooglePlayGameServicesv1
impl Debug for GooglePlayGameServicesv1
Source§impl FromGoogleScope<GooglePlayGameServicesv1> for GooglePlayGameServicesv1
impl FromGoogleScope<GooglePlayGameServicesv1> for GooglePlayGameServicesv1
Source§fn from_google_scope(google_scope: &str) -> Result<GooglePlayGameServicesv1, ()>
fn from_google_scope(google_scope: &str) -> Result<GooglePlayGameServicesv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for GooglePlayGameServicesv1
impl Hash for GooglePlayGameServicesv1
Source§impl PartialEq for GooglePlayGameServicesv1
impl PartialEq for GooglePlayGameServicesv1
Source§impl ToGoogleScope for GooglePlayGameServicesv1
impl ToGoogleScope for GooglePlayGameServicesv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for GooglePlayGameServicesv1
impl Eq for GooglePlayGameServicesv1
impl StructuralPartialEq for GooglePlayGameServicesv1
Auto Trait Implementations§
impl Freeze for GooglePlayGameServicesv1
impl RefUnwindSafe for GooglePlayGameServicesv1
impl Send for GooglePlayGameServicesv1
impl Sync for GooglePlayGameServicesv1
impl Unpin for GooglePlayGameServicesv1
impl UnwindSafe for GooglePlayGameServicesv1
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