pub struct UpdateCalendarEvent {Show 13 fields
pub title: Option<String>,
pub description: Option<String>,
pub location: Option<String>,
pub metadata: Option<Value>,
pub status: Option<EventStatus>,
pub all_day: Option<bool>,
pub start: Option<String>,
pub end: Option<String>,
pub timezone: Option<String>,
pub duration_mode: Option<DurationMode>,
pub recurrence: Option<Recurrence>,
pub attendees: Vec<CalendarAttendee>,
pub send_invites: Option<bool>,
}Expand description
Body for update_calendar_event. Fields left None stay unchanged; there
is no way to set a field back to null from this client (the API accepts
nulls for description/location/metadata/recurrence, but None
here means “leave alone”, matching crate::UpdateDraft).
Fields§
§title: Option<String>Replace the title.
description: Option<String>Replace the description.
location: Option<String>Replace the location.
metadata: Option<Value>Replace the stored metadata.
status: Option<EventStatus>Replace the confirmation state.
all_day: Option<bool>Switch to or from an all-day event.
start: Option<String>Replace the display start.
end: Option<String>Replace the display end.
timezone: Option<String>Replace the IANA timezone.
duration_mode: Option<DurationMode>Replace the duration interpretation.
recurrence: Option<Recurrence>Replace the recurrence rule.
attendees: Vec<CalendarAttendee>Replace the attendee list.
send_invites: Option<bool>Email invites to (new) attendees.
Trait Implementations§
Source§impl Clone for UpdateCalendarEvent
impl Clone for UpdateCalendarEvent
Source§impl Debug for UpdateCalendarEvent
impl Debug for UpdateCalendarEvent
Source§impl Default for UpdateCalendarEvent
impl Default for UpdateCalendarEvent
Auto Trait Implementations§
impl Freeze for UpdateCalendarEvent
impl RefUnwindSafe for UpdateCalendarEvent
impl Send for UpdateCalendarEvent
impl Sync for UpdateCalendarEvent
impl Unpin for UpdateCalendarEvent
impl UnsafeUnpin for UpdateCalendarEvent
impl UnwindSafe for UpdateCalendarEvent
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