Struct google_plus1::api::Person[][src]

pub struct Person {
    pub about_me: Option<String>,
    pub age_range: Option<PersonAgeRange>,
    pub birthday: Option<String>,
    pub bragging_rights: Option<String>,
    pub circled_by_count: Option<i32>,
    pub cover: Option<PersonCover>,
    pub current_location: Option<String>,
    pub display_name: Option<String>,
    pub domain: Option<String>,
    pub emails: Option<Vec<PersonEmails>>,
    pub etag: Option<String>,
    pub gender: Option<String>,
    pub id: Option<String>,
    pub image: Option<PersonImage>,
    pub is_plus_user: Option<bool>,
    pub kind: Option<String>,
    pub language: Option<String>,
    pub name: Option<PersonName>,
    pub nickname: Option<String>,
    pub object_type: Option<String>,
    pub occupation: Option<String>,
    pub organizations: Option<Vec<PersonOrganizations>>,
    pub places_lived: Option<Vec<PersonPlacesLived>>,
    pub plus_one_count: Option<i32>,
    pub relationship_status: Option<String>,
    pub skills: Option<String>,
    pub tagline: Option<String>,
    pub url: Option<String>,
    pub urls: Option<Vec<PersonUrls>>,
    pub verified: Option<bool>,
}

There is no detailed description.

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

about_me: Option<String>

A short biography for this person.

age_range: Option<PersonAgeRange>

The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.

birthday: Option<String>

The person's date of birth, represented as YYYY-MM-DD.

bragging_rights: Option<String>

The "bragging rights" line of this person.

circled_by_count: Option<i32>

For followers who are visible, the number of people who have added this person or page to a circle.

cover: Option<PersonCover>

The cover photo content.

current_location: Option<String>

(this field is not currently used)

display_name: Option<String>

The name of this person, which is suitable for display.

domain: Option<String>

The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.

emails: Option<Vec<PersonEmails>>

A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address.

etag: Option<String>

ETag of this response for caching purposes.

gender: Option<String>

The person's gender. Possible values include, but are not limited to, the following values:

id: Option<String>

The ID of this person.

image: Option<PersonImage>

The representation of the person's profile photo.

is_plus_user: Option<bool>

Whether this user has signed up for Google+.

kind: Option<String>

Identifies this resource as a person. Value: "plus#person".

language: Option<String>

The user's preferred language for rendering.

name: Option<PersonName>

An object representation of the individual components of a person's name.

nickname: Option<String>

The nickname of this person.

object_type: Option<String>

Type of person within Google+. Possible values include, but are not limited to, the following values:

occupation: Option<String>

The occupation of this person.

organizations: Option<Vec<PersonOrganizations>>

A list of current or past organizations with which this person is associated.

places_lived: Option<Vec<PersonPlacesLived>>

A list of places where this person has lived.

plus_one_count: Option<i32>

If a Google+ Page, the number of people who have +1'd this page.

relationship_status: Option<String>

The person's relationship status. Possible values include, but are not limited to, the following values:

skills: Option<String>

The person's skills.

tagline: Option<String>

The brief description (tagline) of this person.

url: Option<String>

The URL of this person's profile.

urls: Option<Vec<PersonUrls>>

A list of URLs for this person.

verified: Option<bool>

Whether the person or Google+ Page has been verified.

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 ResponseResult for Person[src]

impl Serialize for Person[src]

Auto Trait Implementations

impl RefUnwindSafe for Person[src]

impl Send for Person[src]

impl Sync for Person[src]

impl Unpin for Person[src]

impl UnwindSafe for Person[src]

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