[][src]Struct google_calendar3::CalendarNotification

pub struct CalendarNotification {
    pub type_: Option<String>,
    pub method: Option<String>,
}

There is no detailed description.

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

Fields

type_: Option<String>

The type of notification. Possible values are:

  • "eventCreation" - Notification sent when a new event is put on the calendar.
  • "eventChange" - Notification sent when an event is changed.
  • "eventCancellation" - Notification sent when an event is cancelled.
  • "eventResponse" - Notification sent when an attendee responds to the event invitation.
  • "agenda" - An agenda with the events of the day (sent out in the morning).
    Required when adding a notification.
method: Option<String>

The method used to deliver the notification. Possible values are:

  • "email" - Notifications are sent via email.
  • "sms" - Deprecated. Once this feature is shutdown, the API will no longer return notifications using this method. Any newly added SMS notifications will be ignored. See Google Calendar SMS notifications to be removed for more information. Notifications are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS notifications are only available for G Suite customers.
    Required when adding a notification.

Trait Implementations

impl Part for CalendarNotification[src]

impl Clone for CalendarNotification[src]

impl Default for CalendarNotification[src]

impl Debug for CalendarNotification[src]

impl Serialize for CalendarNotification[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

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