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
person: Option<String>
The name of the other person this relation refers to.
formatted_type: Option<String>
The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
type_: Option<String>
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: Option<FieldMetadata>
Metadata about the relation.
Trait Implementations
impl Default for Relation
[src]
impl Clone for Relation
[src]
fn clone(&self) -> Relation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more