pub struct PersonSettingUpdate {
pub value: Value,
pub extra: Map<String, Value>,
}Expand description
Value for one allowed person setting. numeric accepts JSON numbers or numeric strings; boolean requires a JSON boolean; array accepts lists or associative objects; string requires a string. Null is not accepted. The module and attribute are taken from the URL.
Supported module/attribute pairs and value categories:
| Module | Attributes (value type) |
|---|---|
| churchcore | saml-id (numeric), hidden-hints (array), hidden-hints-temporarily (string), alpha-consent (numeric), language (string), tour-completion-stats (array) |
| churchhome | startpageWidgets (array), hiddenStartpageWidgets (array) |
| churchdb | group-custom-views (string), favorite-groups (array), mailerBCC (numeric), sendBCCMail (numeric), signature (string), labelTemplateSelection (string) |
| churchcal | filterGemeindekalendar (string), filterGruppenKalender (string), filterPersonalKalender (string), currentBirthdayScope (string) |
| churchservice | file_attachToAllEvents (numeric), agendaExportSettings (array) |
| churchcheckin | category_id (numeric), distrikt_id (numeric), group_id (string), event_datum (string), rolename (string), viewCheckin (string), sortnames (string), printer_id (string), starthelpReaded (string), printgrouplist (boolean), station_id (string), status_id (string), bereich_id (string), personsSortBy (string) |
| finance | selected-client (numeric), transaction-mode (string), selected-accounting-period (array), selected-donation-receipt-letter-template (string), selected-donation-receipt-attachment-template (string), show-purposes-in-import (numeric), donation-download-mode (string), donation-download-double-page (string), show-entries-without-budget (boolean), eubp-mock-scenario (string), statements-document-number-type (array), statements-booking-number-template (array) |
| wiki | showMarkdownHints (numeric) |
| global | recent-searches (array), recent-persons (array), recent-groups (array), recent-wiki_pages (array), recent-songs (array), recent-appointments (array), simulatedPersons (array), station (string) |
| app | excluded-calendars (array), excluded-widgets (array), sorted-widgets (array) |
| push | birthday-type (string), disableGroupSignUpNotifications (numeric), groupSignUpNotificationsAgeGroupIds (array), groupSignUpNotificationsTargetGroupIds (array), groupSignUpNotificationsCategoryIds (array) |
Fields§
§value: ValueValue of the selected setting, using its required type. Calendar filters require a string containing a JSON array, not a JSON array directly.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonSettingUpdate
impl Clone for PersonSettingUpdate
Source§impl Debug for PersonSettingUpdate
impl Debug for PersonSettingUpdate
Source§impl Default for PersonSettingUpdate
impl Default for PersonSettingUpdate
Source§impl<'de> Deserialize<'de> for PersonSettingUpdate
impl<'de> Deserialize<'de> for PersonSettingUpdate
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 PersonSettingUpdate
impl PartialEq for PersonSettingUpdate
Source§impl Serialize for PersonSettingUpdate
impl Serialize for PersonSettingUpdate
impl StructuralPartialEq for PersonSettingUpdate
Auto Trait Implementations§
impl Freeze for PersonSettingUpdate
impl RefUnwindSafe for PersonSettingUpdate
impl Send for PersonSettingUpdate
impl Sync for PersonSettingUpdate
impl Unpin for PersonSettingUpdate
impl UnsafeUnpin for PersonSettingUpdate
impl UnwindSafe for PersonSettingUpdate
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