Enum google_photoslibrary1::api::Scope
source · pub enum Scope {
Full,
Appendonly,
EditAppcreateddata,
Readonly,
ReadonlyAppcreateddata,
Sharing,
}
Expand description
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Variants§
Full
See, upload, and organize items in your Google Photos library
Appendonly
Add to your Google Photos library
EditAppcreateddata
Edit the info in your photos, videos, and albums created within this app, including titles, descriptions, and covers
Readonly
View your Google Photos library
ReadonlyAppcreateddata
Manage photos added by this app
Sharing
Manage and add to shared albums on your behalf
Trait Implementations§
source§impl Ord for Scope
impl Ord for Scope
source§impl PartialEq for Scope
impl PartialEq for Scope
source§impl PartialOrd for Scope
impl PartialOrd for Scope
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.