Struct google_people1::Relation[][src]

pub struct Relation {
    pub person: Option<String>,
    pub formatted_type: Option<String>,
    pub type_: Option<String>,
    pub metadata: Option<FieldMetadata>,
}

A person's relation to another person.

This type is not used in any activity, and only used as part of another schema.

Fields

The name of the other person this relation refers to.

The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.

The person's relation to the other person. The type can be custom or one of these predefined values:

  • spouse
  • child
  • mother
  • father
  • parent
  • brother
  • sister
  • friend
  • relative
  • domesticPartner
  • manager
  • assistant
  • referredBy
  • partner

Metadata about the relation.

Trait Implementations

impl Default for Relation
[src]

Returns the "default value" for a type. Read more

impl Clone for Relation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Relation
[src]

Formats the value using the given formatter. Read more

impl Part for Relation
[src]

Auto Trait Implementations

impl Send for Relation

impl Sync for Relation