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 predefined. Possible values include, but are not limited to, the following 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]

[src]

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

impl Clone for Relation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Relation
[src]

[src]

Formats the value using the given formatter.

impl Part for Relation
[src]