Struct google_people1::api::FieldMetadata
source · pub struct FieldMetadata {
pub primary: Option<bool>,
pub source: Option<Source>,
pub source_primary: Option<bool>,
pub verified: Option<bool>,
}
Expand description
Metadata about a field.
This type is not used in any activity, and only used as part of another schema.
Fields§
§primary: Option<bool>
Output only. True if the field is the primary field for all sources in the person. Each person will have at most one field with primary
set to true.
source: Option<Source>
The source of the field.
source_primary: Option<bool>
True if the field is the primary field for the source. Each source must have at most one field with source_primary
set to true.
verified: Option<bool>
Output only. True if the field is verified; false if the field is unverified. A verified field is typically a name, email address, phone number, or website that has been confirmed to be owned by the person.
Trait Implementations§
source§impl Clone for FieldMetadata
impl Clone for FieldMetadata
source§fn clone(&self) -> FieldMetadata
fn clone(&self) -> FieldMetadata
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 FieldMetadata
impl Debug for FieldMetadata
source§impl Default for FieldMetadata
impl Default for FieldMetadata
source§fn default() -> FieldMetadata
fn default() -> FieldMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FieldMetadata
impl<'de> Deserialize<'de> for FieldMetadata
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 FieldMetadata
impl Serialize for FieldMetadata
impl Part for FieldMetadata
Auto Trait Implementations§
impl RefUnwindSafe for FieldMetadata
impl Send for FieldMetadata
impl Sync for FieldMetadata
impl Unpin for FieldMetadata
impl UnwindSafe for FieldMetadata
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