Struct google_calendar3::api::CalendarNotification
source · pub struct CalendarNotification {
pub method: 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§
§method: Option<String>
The method used to deliver the notification. The possible value is:
- “email” - Notifications are sent via email.
Required when adding a notification.
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.
Trait Implementations§
source§impl Clone for CalendarNotification
impl Clone for CalendarNotification
source§fn clone(&self) -> CalendarNotification
fn clone(&self) -> CalendarNotification
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 CalendarNotification
impl Debug for CalendarNotification
source§impl Default for CalendarNotification
impl Default for CalendarNotification
source§fn default() -> CalendarNotification
fn default() -> CalendarNotification
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CalendarNotification
impl<'de> Deserialize<'de> for CalendarNotification
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 CalendarNotification
impl Serialize for CalendarNotification
impl Part for CalendarNotification
Auto Trait Implementations§
impl RefUnwindSafe for CalendarNotification
impl Send for CalendarNotification
impl Sync for CalendarNotification
impl Unpin for CalendarNotification
impl UnwindSafe for CalendarNotification
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