pub struct GroupHomepageUpdate {Show 16 fields
pub custom_description: Option<Option<String>>,
pub custom_title: Option<Option<String>>,
pub default_view: Option<String>,
pub depth: Option<i64>,
pub description_mode: Option<String>,
pub filters: Option<Vec<GroupHomepageFilterCreate>>,
pub is_collapsed: Option<bool>,
pub is_enabled: bool,
pub order_by: Option<String>,
pub order_direction: Option<String>,
pub show_filters: bool,
pub show_group_images: bool,
pub show_leaders: bool,
pub show_map: bool,
pub title_mode: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Upsert settings. Omitted header modes/custom text are preserved, but omitted layout/order/collapse/depth fields reset to their defaults and omitted filters disables all filters.
Fields§
§custom_description: Option<Option<String>>Custom description. Trimmed; null or blank clears the value. Omission preserves the current value on update.
None leaves the field out, Some(None) sends null.
custom_title: Option<Option<String>>Custom heading. Trimmed; null or blank clears the value. Omission preserves the current value on update.
None leaves the field out, Some(None) sends null.
default_view: Option<String>Initial group display layout.
Allowed values: list, minitile, tile.
depth: Option<i64>Maximum child hierarchy depth; 1 includes direct children. The public endpoint can override this value.
description_mode: Option<String>Header content source. Omission uses group for a new page and preserves the current setting on update.
Allowed values: custom, group, none.
filters: Option<Vec<GroupHomepageFilterCreate>>Replaces the enabled filters in the supplied order. Omission or an empty array disables all five filters. options from read responses are ignored.
is_collapsed: Option<bool>Whether the group list starts collapsed.
is_enabled: boolWhether the public hash URL may be opened.
order_by: Option<String>Group field used to sort the page.
Allowed values: dateOfFoundation, name.
order_direction: Option<String>Ascending or descending sort order.
Allowed values: ASC, DESC.
show_filters: boolDisplay the filter controls. Individual filter visibility is configured with filters.
show_group_images: boolInclude group images in public group details.
show_leaders: boolInclude leaders in public group details.
show_map: boolEnable the map when the global OpenStreetMap setting also permits it.
title_mode: Option<String>Header content source. Omission uses group for a new page and preserves the current setting on update.
Allowed values: custom, group, none.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.