[][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>>

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_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]

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

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]

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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