pub struct AgendaTemplateCreate {
pub calendar_id: i64,
pub event_start_position: Option<i64>,
pub items: Option<Vec<Value>>,
pub name: String,
pub series: Option<Option<String>>,
pub extra: Map<String, Value>,
}Expand description
Reusable running-plan template. Items use the same header, text and song types as event agendas. Templates have no event date; copying one into an event creates independent agenda items.
Fields§
§calendar_id: i64Calendar that determines template visibility and editing permissions.
event_start_position: Option<i64>Zero-based index in the complete item list where the event begins when this template is copied.
items: Option<Vec<Value>>Initial template items in their intended order. Items are not linked to any event.
name: StringTemplate name.
series: Option<Option<String>>Optional 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 AgendaTemplateCreate
impl Clone for AgendaTemplateCreate
Source§impl Debug for AgendaTemplateCreate
impl Debug for AgendaTemplateCreate
Source§impl Default for AgendaTemplateCreate
impl Default for AgendaTemplateCreate
Source§impl<'de> Deserialize<'de> for AgendaTemplateCreate
impl<'de> Deserialize<'de> for AgendaTemplateCreate
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 AgendaTemplateCreate
impl PartialEq for AgendaTemplateCreate
Source§impl Serialize for AgendaTemplateCreate
impl Serialize for AgendaTemplateCreate
impl StructuralPartialEq for AgendaTemplateCreate
Auto Trait Implementations§
impl Forget for AgendaTemplateCreate
impl Freeze for AgendaTemplateCreate
impl Move for AgendaTemplateCreate
impl RefUnwindSafe for AgendaTemplateCreate
impl Send for AgendaTemplateCreate
impl Sync for AgendaTemplateCreate
impl Unpin for AgendaTemplateCreate
impl UnsafeUnpin for AgendaTemplateCreate
impl UnwindSafe for AgendaTemplateCreate
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