[][src]Struct google_people1::Person

pub struct Person {
    pub interests: Option<Vec<Interest>>,
    pub bragging_rights: Option<Vec<BraggingRights>>,
    pub addresses: Option<Vec<Address>>,
    pub nicknames: Option<Vec<Nickname>>,
    pub occupations: Option<Vec<Occupation>>,
    pub phone_numbers: Option<Vec<PhoneNumber>>,
    pub names: Option<Vec<Name>>,
    pub resource_name: Option<String>,
    pub age_ranges: Option<Vec<AgeRangeType>>,
    pub birthdays: Option<Vec<Birthday>>,
    pub relations: Option<Vec<Relation>>,
    pub etag: Option<String>,
    pub relationship_statuses: Option<Vec<RelationshipStatus>>,
    pub im_clients: Option<Vec<ImClient>>,
    pub events: Option<Vec<Event>>,
    pub metadata: Option<PersonMetadata>,
    pub sip_addresses: Option<Vec<SipAddress>>,
    pub photos: Option<Vec<Photo>>,
    pub residences: Option<Vec<Residence>>,
    pub relationship_interests: Option<Vec<RelationshipInterest>>,
    pub cover_photos: Option<Vec<CoverPhoto>>,
    pub locales: Option<Vec<Locale>>,
    pub organizations: Option<Vec<Organization>>,
    pub user_defined: Option<Vec<UserDefined>>,
    pub skills: Option<Vec<Skill>>,
    pub memberships: Option<Vec<Membership>>,
    pub taglines: Option<Vec<Tagline>>,
    pub urls: Option<Vec<Url>>,
    pub age_range: Option<String>,
    pub genders: Option<Vec<Gender>>,
    pub email_addresses: Option<Vec<EmailAddress>>,
    pub biographies: Option<Vec<Biography>>,
}

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).

Fields

interests: Option<Vec<Interest>>

The person's interests.

bragging_rights: Option<Vec<BraggingRights>>

DEPRECATED: No data will be returned 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>>

Output only. The person's 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>>

Output only. DEPRECATED: No data will be returned The person's relationship statuses.

im_clients: Option<Vec<ImClient>>

The person's instant messaging clients.

events: Option<Vec<Event>>

The person's events.

metadata: Option<PersonMetadata>

Output only. Metadata about the person.

sip_addresses: Option<Vec<SipAddress>>

The person's SIP addresses.

photos: Option<Vec<Photo>>

Output only. The person's photos.

residences: Option<Vec<Residence>>

The person's residences.

relationship_interests: Option<Vec<RelationshipInterest>>

Output only. DEPRECATED: No data will be returned The person's relationship interests.

cover_photos: Option<Vec<CoverPhoto>>

Output only. The person's 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>>

Output only. DEPRECATED: No data will be returned The person's taglines.

urls: Option<Vec<Url>>

The person's associated URLs.

age_range: Option<String>

Output only. DEPRECATED (Please use person.ageRanges instead)

The person's 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 Clone for Person[src]

impl Debug for Person[src]

impl Default for Person[src]

impl<'de> Deserialize<'de> for Person[src]

impl RequestValue for Person[src]

impl ResponseResult for Person[src]

impl Serialize for Person[src]

Auto Trait Implementations

impl RefUnwindSafe for Person

impl Send for Person

impl Sync for Person

impl Unpin for Person

impl UnwindSafe for Person

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any