Struct google_people1::Gender[][src]

pub struct Gender {
    pub formatted_value: Option<String>,
    pub value: Option<String>,
    pub metadata: Option<FieldMetadata>,
}

A person's gender.

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

Fields

The read-only value of the gender translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

The gender for the person. The gender can be custom or one of these predefined values:

  • male
  • female
  • other
  • unknown

Metadata about the gender.

Trait Implementations

impl Default for Gender
[src]

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

impl Clone for Gender
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Gender
[src]

Formats the value using the given formatter. Read more

impl Part for Gender
[src]

Auto Trait Implementations

impl Send for Gender

impl Sync for Gender