Struct google_people1::api::RelationshipStatus
source · pub struct RelationshipStatus {
pub formatted_value: Option<String>,
pub metadata: Option<FieldMetadata>,
pub value: Option<String>,
}
Expand description
DEPRECATED: No data will be returned A person’s relationship status.
This type is not used in any activity, and only used as part of another schema.
Fields§
§formatted_value: Option<String>
Output only. The value of the relationship status translated and formatted in the viewer’s account locale or the Accept-Language
HTTP header locale.
metadata: Option<FieldMetadata>
Metadata about the relationship status.
value: Option<String>
The relationship status. The value can be custom or one of these predefined values: * single
* inARelationship
* engaged
* married
* itsComplicated
* openRelationship
* widowed
* inDomesticPartnership
* inCivilUnion
Trait Implementations§
source§impl Clone for RelationshipStatus
impl Clone for RelationshipStatus
source§fn clone(&self) -> RelationshipStatus
fn clone(&self) -> RelationshipStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RelationshipStatus
impl Debug for RelationshipStatus
source§impl Default for RelationshipStatus
impl Default for RelationshipStatus
source§fn default() -> RelationshipStatus
fn default() -> RelationshipStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RelationshipStatus
impl<'de> Deserialize<'de> for RelationshipStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for RelationshipStatus
impl Serialize for RelationshipStatus
impl Part for RelationshipStatus
Auto Trait Implementations§
impl RefUnwindSafe for RelationshipStatus
impl Send for RelationshipStatus
impl Sync for RelationshipStatus
impl Unpin for RelationshipStatus
impl UnwindSafe for RelationshipStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more