pub struct NewEvent {Show 13 fields
pub subject: String,
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub tz: String,
pub all_day: bool,
pub location: Option<String>,
pub body_text: Option<String>,
pub body_html: bool,
pub required_attendees: Vec<String>,
pub optional_attendees: Vec<String>,
pub recurrence: Option<RecurrencePattern>,
pub online_meeting: bool,
pub reminder: Reminder,
}Expand description
What the caller is sending: pre-Graph-serialization shape for create/update.
Fields§
§subject: String§start: DateTime<Utc>§end: DateTime<Utc>§tz: String§all_day: bool§location: Option<String>§body_text: Option<String>§body_html: boolSend body_text as contentType: html instead of text. Set when
copying a body Graph returned as HTML, so tags are not escaped.
required_attendees: Vec<String>§optional_attendees: Vec<String>§recurrence: Option<RecurrencePattern>§online_meeting: bool§reminder: ReminderTrait Implementations§
Auto Trait Implementations§
impl Freeze for NewEvent
impl RefUnwindSafe for NewEvent
impl Send for NewEvent
impl Sync for NewEvent
impl Unpin for NewEvent
impl UnsafeUnpin for NewEvent
impl UnwindSafe for NewEvent
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