[][src]Struct google_people1::Event

pub struct Event {
    pub date: Option<Date>,
    pub formatted_type: Option<String>,
    pub type_: Option<String>,
    pub metadata: Option<FieldMetadata>,
}

An event related to the person.

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

Fields

date: Option<Date>

The date of the event.

formatted_type: Option<String>

Output only. The type of the event translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

type_: Option<String>

The type of the event. The type can be custom or one of these predefined values:

  • anniversary
  • other
metadata: Option<FieldMetadata>

Metadata about the event.

Trait Implementations

impl Clone for Event[src]

impl Debug for Event[src]

impl Default for Event[src]

impl<'de> Deserialize<'de> for Event[src]

impl Part for Event[src]

impl Serialize for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any