pub struct Service {Show 24 fields
pub deprecated: BTreeMap<String, String>,
pub allow_chat: bool,
pub allow_comment_on_confirmation: bool,
pub allow_control_live_agenda: bool,
pub allow_decline: bool,
pub allow_exchange: bool,
pub cal_text_template: Option<String>,
pub comment: Option<String>,
pub comment_on_confirmation: Option<bool>,
pub description: Option<String>,
pub group_ids: Vec<i64>,
pub hide_person_name: bool,
pub id: i64,
pub meta: MetaDataEntityId,
pub name: String,
pub name_translated: String,
pub only_assign_from_groups: bool,
pub send_reminder_mails: bool,
pub send_service_request_emails: bool,
pub service_group_id: i64,
pub sort_key: i64,
pub standard: bool,
pub tag_ids: Vec<i64>,
pub extra: Map<String, Value>,
}Expand description
A reusable role in event planning, such as Lead vocals. It belongs to a service group. A person assigned to this role at a particular event is a separate service assignment.
Fields§
§deprecated: BTreeMap<String, String>§allow_chat: boolEnable chat for this service.
allow_comment_on_confirmation: boolAllow a comment when confirming a service request.
allow_control_live_agenda: boolAllow persons assigned to this service to control the live agenda.
allow_decline: boolAllow assigned persons to decline service requests.
allow_exchange: boolAllow assigned persons to request an exchange of their service assignment.
cal_text_template: Option<String>Template for the calendar text of this service.
comment: Option<String>Use description instead.
Use description instead.
comment_on_confirmation: Option<bool>deprecated in the ChurchTools API
use allowCommentOnConfirmation instead
description: Option<String>Description of the role.
group_ids: Vec<i64>IDs of connected person groups used for service planning.
hide_person_name: boolHide assigned persons from viewers without the service or service-group permissions needed to see them.
id: i64§meta: MetaDataEntityId§name: StringName of the planning role, for example Lead vocals. A service is reusable master data; the assignment of a person to this role belongs to an event.
name_translated: StringName translated for the current language; falls back to the stored name.
only_assign_from_groups: boolRestrict assignment candidates to the connected person groups.
send_reminder_mails: boolEnable reminder emails for service assignments.
send_service_request_emails: boolEnable emails for service requests.
service_group_id: i64ID of the existing service group that organizes this role, for example Music or Technical team. This is not a person group.
sort_key: i64Display order. Lists are sorted by sortKey and then name, both ascending.
standard: boolWhether this service is marked as a standard service for event planning.
tag_ids: Vec<i64>IDs of connected tags used for service planning.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.