pub enum PhotosLibraryAPIv1 {
AuthPhotoslibrary,
AuthPhotoslibraryappendOnly,
AuthPhotoslibraryEditAppcreateddata,
AuthPhotoslibraryReadOnly,
AuthPhotoslibraryReadOnlyAppcreateddata,
AuthPhotoslibrarySharing,
}Expand description
Photos Library API, v1
Variants§
AuthPhotoslibrary
Documentation: See, upload, and organize items in your Google Photos library, Scope: https://www.googleapis.com/auth/photoslibrary
AuthPhotoslibraryappendOnly
Documentation: Add to your Google Photos library, Scope: https://www.googleapis.com/auth/photoslibrary.appendonly
AuthPhotoslibraryEditAppcreateddata
Documentation: Edit the info in your photos, videos, and albums created within this app, including titles, descriptions, and covers, Scope: https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata
AuthPhotoslibraryReadOnly
Documentation: View your Google Photos library, Scope: https://www.googleapis.com/auth/photoslibrary.readonly
AuthPhotoslibraryReadOnlyAppcreateddata
Documentation: Manage photos added by this app, Scope: https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata
AuthPhotoslibrarySharing
Documentation: Manage and add to shared albums on your behalf, Scope: https://www.googleapis.com/auth/photoslibrary.sharing
Trait Implementations§
Source§impl Clone for PhotosLibraryAPIv1
impl Clone for PhotosLibraryAPIv1
Source§fn clone(&self) -> PhotosLibraryAPIv1
fn clone(&self) -> PhotosLibraryAPIv1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PhotosLibraryAPIv1
impl Debug for PhotosLibraryAPIv1
Source§impl FromGoogleScope<PhotosLibraryAPIv1> for PhotosLibraryAPIv1
impl FromGoogleScope<PhotosLibraryAPIv1> for PhotosLibraryAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<PhotosLibraryAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<PhotosLibraryAPIv1, ()>
Err if you input an invalid Google Scope.Source§impl Hash for PhotosLibraryAPIv1
impl Hash for PhotosLibraryAPIv1
Source§impl PartialEq for PhotosLibraryAPIv1
impl PartialEq for PhotosLibraryAPIv1
Source§impl ToGoogleScope for PhotosLibraryAPIv1
impl ToGoogleScope for PhotosLibraryAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
str literal