Enum google_people1::api::Scope
source · pub enum Scope {
Contact,
ContactOtherReadonly,
ContactReadonly,
DirectoryReadonly,
UserAddressRead,
UserBirthdayRead,
UserEmailRead,
UserGenderRead,
UserOrganizationRead,
UserPhonenumberRead,
UserinfoEmail,
UserinfoProfile,
}
Expand description
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Variants§
Contact
See, edit, download, and permanently delete your contacts
ContactOtherReadonly
See and download contact info automatically saved in your “Other contacts”
ContactReadonly
See and download your contacts
DirectoryReadonly
See and download your organization’s GSuite directory
UserAddressRead
View your street addresses
UserBirthdayRead
See and download your exact date of birth
UserEmailRead
See and download all of your Google Account email addresses
UserGenderRead
See your gender
UserOrganizationRead
See your education, work history and org info
UserPhonenumberRead
See and download your personal phone numbers
UserinfoEmail
See your primary Google Account email address
UserinfoProfile
See your personal info, including any personal info you’ve made publicly available
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.