pub struct Event {
pub date: Option<Date>,
pub formatted_type: Option<String>,
pub metadata: Option<FieldMetadata>,
pub type_: Option<String>,
}Expand description
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.
metadata: Option<FieldMetadata>Metadata about the event.
type_: Option<String>The type of the event. The type can be custom or one of these predefined values: * anniversary * other
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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
impl Part for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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