pub enum PeopleAPIv1 {
AuthContacts,
AuthContactsOtherReadOnly,
AuthContactsReadOnly,
AuthDirectoryReadOnly,
AuthUserAddressesRead,
AuthUserBirthdayRead,
AuthUserEmailsRead,
AuthUserGenderRead,
AuthUserOrganizationRead,
AuthUserPhonenumbersRead,
AuthUserinfoEmail,
AuthUserinfoProfile,
}Expand description
People API, v1
Variants§
AuthContacts
Documentation: See, edit, download, and permanently delete your contacts, Scope: https://www.googleapis.com/auth/contacts
AuthContactsOtherReadOnly
Documentation: See and download contact info automatically saved in your “Other contacts”, Scope: https://www.googleapis.com/auth/contacts.other.readonly
AuthContactsReadOnly
Documentation: See and download your contacts, Scope: https://www.googleapis.com/auth/contacts.readonly
AuthDirectoryReadOnly
Documentation: See and download your organization’s GSuite directory, Scope: https://www.googleapis.com/auth/directory.readonly
AuthUserAddressesRead
Documentation: View your street addresses, Scope: https://www.googleapis.com/auth/user.addresses.read
AuthUserBirthdayRead
Documentation: See and download your exact date of birth, Scope: https://www.googleapis.com/auth/user.birthday.read
AuthUserEmailsRead
Documentation: See and download all of your Google Account email addresses, Scope: https://www.googleapis.com/auth/user.emails.read
AuthUserGenderRead
Documentation: See your gender, Scope: https://www.googleapis.com/auth/user.gender.read
AuthUserOrganizationRead
Documentation: See your education, work history and org info, Scope: https://www.googleapis.com/auth/user.organization.read
AuthUserPhonenumbersRead
Documentation: See and download your personal phone numbers, Scope: https://www.googleapis.com/auth/user.phonenumbers.read
AuthUserinfoEmail
Documentation: See your primary Google Account email address, Scope: https://www.googleapis.com/auth/userinfo.email
AuthUserinfoProfile
Documentation: See your personal info, including any personal info you’ve made publicly available, Scope: https://www.googleapis.com/auth/userinfo.profile
Trait Implementations§
Source§impl Clone for PeopleAPIv1
impl Clone for PeopleAPIv1
Source§fn clone(&self) -> PeopleAPIv1
fn clone(&self) -> PeopleAPIv1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PeopleAPIv1
impl Debug for PeopleAPIv1
Source§impl FromGoogleScope<PeopleAPIv1> for PeopleAPIv1
impl FromGoogleScope<PeopleAPIv1> for PeopleAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<PeopleAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<PeopleAPIv1, ()>
Err if you input an invalid Google Scope.Source§impl Hash for PeopleAPIv1
impl Hash for PeopleAPIv1
Source§impl PartialEq for PeopleAPIv1
impl PartialEq for PeopleAPIv1
Source§impl ToGoogleScope for PeopleAPIv1
impl ToGoogleScope for PeopleAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
str literal