pub struct AgendaUpdate {
pub calendar_id: Option<i64>,
pub event_start_position: Option<i64>,
pub items: Option<Vec<AgendaItemListUpdate>>,
pub series: Option<Option<String>>,
pub extra: Map<String, Value>,
}Expand description
Fields accepted when updating an existing event agenda or copying an agenda. The optional items array replaces the complete item list.
Fields§
§calendar_id: Option<i64>Calendar assigned to this agenda. It is not automatically taken from the event.
event_start_position: Option<i64>Zero-based index in the complete items array where the event begins, including headers and hidden items.
items: Option<Vec<AgendaItemListUpdate>>Complete replacement list in the intended order. Existing IDs retain and update those items; entries without IDs create new ones. An empty array deletes all items. Cannot be combined with either copy-source query parameter.
series: Option<Option<String>>Free-text series name.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AgendaUpdate
impl Clone for AgendaUpdate
Source§impl Debug for AgendaUpdate
impl Debug for AgendaUpdate
Source§impl Default for AgendaUpdate
impl Default for AgendaUpdate
Source§impl<'de> Deserialize<'de> for AgendaUpdate
impl<'de> Deserialize<'de> for AgendaUpdate
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 PartialEq for AgendaUpdate
impl PartialEq for AgendaUpdate
Source§impl Serialize for AgendaUpdate
impl Serialize for AgendaUpdate
impl StructuralPartialEq for AgendaUpdate
Auto Trait Implementations§
impl Forget for AgendaUpdate
impl Freeze for AgendaUpdate
impl Move for AgendaUpdate
impl RefUnwindSafe for AgendaUpdate
impl Send for AgendaUpdate
impl Sync for AgendaUpdate
impl Unpin for AgendaUpdate
impl UnsafeUnpin for AgendaUpdate
impl UnwindSafe for AgendaUpdate
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