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 one of these predefined 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 Default for Relation
impl Clone for Relation
[src]
impl Clone for Relation
fn clone(&self) -> Relation
[src]
fn clone(&self) -> Relation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Relation
[src]
impl Debug for Relation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Relation
[src]
impl Part for Relation