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
formatted_value: Option<String>
The read-only value of the gender translated and formatted in the viewer's
account locale or the Accept-Language
HTTP header locale.
value: Option<String>
The gender for the person. The gender can be custom or one of these predefined values:
male
female
other
unknown
metadata: Option<FieldMetadata>
Metadata about the gender.
Trait Implementations
impl Default for Gender
[src]
impl Default for Gender
impl Clone for Gender
[src]
impl Clone for Gender
fn clone(&self) -> Gender
[src]
fn clone(&self) -> Gender
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 Gender
[src]
impl Debug for Gender
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 Gender
[src]
impl Part for Gender