[−][src]Struct google_people1::Person
Information about a person merged from various data sources such as the authenticated user's contacts and profile data.
Most fields can have multiple items. The items in a field have no guaranteed
order, but each non-empty field is guaranteed to have exactly one field with
metadata.primary
set to true.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- update contact people (request|response)
- create contact people (request|response)
- get people (response)
Fields
interests: Option<Vec<Interest>>
The person's interests.
bragging_rights: Option<Vec<BraggingRights>>
The person's bragging rights.
addresses: Option<Vec<Address>>
The person's street addresses.
nicknames: Option<Vec<Nickname>>
The person's nicknames.
occupations: Option<Vec<Occupation>>
The person's occupations.
phone_numbers: Option<Vec<PhoneNumber>>
The person's phone numbers.
names: Option<Vec<Name>>
The person's names.
resource_name: Option<String>
The resource name for the person, assigned by the server. An ASCII string
with a max length of 27 characters, in the form of
people/
person_id.
age_ranges: Option<Vec<AgeRangeType>>
The person's read-only age ranges.
birthdays: Option<Vec<Birthday>>
The person's birthdays.
relations: Option<Vec<Relation>>
The person's relations.
etag: Option<String>
The HTTP entity tag of the resource. Used for web cache validation.
relationship_statuses: Option<Vec<RelationshipStatus>>
The person's read-only relationship statuses.
im_clients: Option<Vec<ImClient>>
The person's instant messaging clients.
events: Option<Vec<Event>>
The person's events.
metadata: Option<PersonMetadata>
Read-only metadata about the person.
sip_addresses: Option<Vec<SipAddress>>
The person's SIP addresses.
photos: Option<Vec<Photo>>
The person's read-only photos.
residences: Option<Vec<Residence>>
The person's residences.
relationship_interests: Option<Vec<RelationshipInterest>>
The person's read-only relationship interests.
cover_photos: Option<Vec<CoverPhoto>>
The person's read-only cover photos.
locales: Option<Vec<Locale>>
The person's locale preferences.
organizations: Option<Vec<Organization>>
The person's past or current organizations.
user_defined: Option<Vec<UserDefined>>
The person's user defined data.
skills: Option<Vec<Skill>>
The person's skills.
memberships: Option<Vec<Membership>>
The person's group memberships.
taglines: Option<Vec<Tagline>>
The person's read-only taglines.
urls: Option<Vec<Url>>
The person's associated URLs.
age_range: Option<String>
DEPRECATED (Please use person.ageRanges
instead)**
The person's read-only age range.
genders: Option<Vec<Gender>>
The person's genders.
email_addresses: Option<Vec<EmailAddress>>
The person's email addresses.
biographies: Option<Vec<Biography>>
The person's biographies.
Trait Implementations
impl ResponseResult for Person
[src]
impl RequestValue for Person
[src]
impl Default for Person
[src]
impl Clone for Person
[src]
fn clone(&self) -> Person
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Person
[src]
impl Serialize for Person
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Person
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Person
impl Unpin for Person
impl Sync for Person
impl UnwindSafe for Person
impl RefUnwindSafe for Person
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,