pub struct EventDetailsUpdate {
pub admin_ids: Option<Vec<i64>>,
pub description: Option<Option<String>>,
pub event_admin_ids: Option<Vec<i64>>,
pub is_canceled: Option<bool>,
pub note: Option<Option<String>>,
pub extra: Map<String, Value>,
}Expand description
Update the event description, administrators and cancellation state. Event dates, the calendar appointment and service assignments are managed through their respective endpoints.
Fields§
§admin_ids: Option<Vec<i64>>Replace the administrator list. A change to the set of IDs additionally requires the “edit masterdata” permission for the service planning domain.
description: Option<Option<String>>Event description.
None leaves the field out, Some(None) sends null.
event_admin_ids: Option<Vec<i64>>👎Deprecated:
deprecated in the ChurchTools API
Legacy input alias for adminIds.
is_canceled: Option<bool>Whether the service-planning event is cancelled.
note: Option<Option<String>>👎Deprecated:
deprecated in the ChurchTools API
Deprecated alias for description.
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 EventDetailsUpdate
impl Clone for EventDetailsUpdate
Source§impl Debug for EventDetailsUpdate
impl Debug for EventDetailsUpdate
Source§impl Default for EventDetailsUpdate
impl Default for EventDetailsUpdate
Source§impl<'de> Deserialize<'de> for EventDetailsUpdate
impl<'de> Deserialize<'de> for EventDetailsUpdate
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 EventDetailsUpdate
impl PartialEq for EventDetailsUpdate
Source§impl Serialize for EventDetailsUpdate
impl Serialize for EventDetailsUpdate
impl StructuralPartialEq for EventDetailsUpdate
Auto Trait Implementations§
impl Freeze for EventDetailsUpdate
impl RefUnwindSafe for EventDetailsUpdate
impl Send for EventDetailsUpdate
impl Sync for EventDetailsUpdate
impl Unpin for EventDetailsUpdate
impl UnsafeUnpin for EventDetailsUpdate
impl UnwindSafe for EventDetailsUpdate
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