pub struct EventBirthdayProperties {
pub contact: Option<String>,
pub custom_type_name: Option<String>,
pub type_: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§contact: Option<String>Resource name of the contact this birthday event is linked to. This can be used to fetch contact details from People API. Format: “people/c12345”. Read-only.
custom_type_name: Option<String>Custom type label specified for this event. This is populated if birthdayProperties.type is set to “custom”. Read-only.
type_: Option<String>Type of birthday or special event. Possible values are:
- “anniversary” - An anniversary other than birthday. Always has a contact.
- “birthday” - A birthday event. This is the default value.
- “custom” - A special date whose label is further specified in the customTypeName field. Always has a contact.
- “other” - A special date which does not fall into the other categories, and does not have a custom label. Always has a contact.
- “self” - Calendar owner’s own birthday. Cannot have a contact. The Calendar API only supports creating events with the type “birthday”. The type cannot be changed after the event is created.
Trait Implementations§
Source§impl Clone for EventBirthdayProperties
impl Clone for EventBirthdayProperties
Source§fn clone(&self) -> EventBirthdayProperties
fn clone(&self) -> EventBirthdayProperties
Returns a duplicate 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 EventBirthdayProperties
impl Debug for EventBirthdayProperties
Source§impl Default for EventBirthdayProperties
impl Default for EventBirthdayProperties
Source§fn default() -> EventBirthdayProperties
fn default() -> EventBirthdayProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventBirthdayProperties
impl<'de> Deserialize<'de> for EventBirthdayProperties
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 EventBirthdayProperties
impl Serialize for EventBirthdayProperties
impl Part for EventBirthdayProperties
Auto Trait Implementations§
impl Freeze for EventBirthdayProperties
impl RefUnwindSafe for EventBirthdayProperties
impl Send for EventBirthdayProperties
impl Sync for EventBirthdayProperties
impl Unpin for EventBirthdayProperties
impl UnwindSafe for EventBirthdayProperties
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