pub struct GroupMemberFieldGroupUpdate {
pub default_value: Value,
pub name: String,
pub name_in_signup_form: Option<Option<String>>,
pub note: Option<Option<String>>,
pub note_in_signup_form: Option<Option<String>>,
pub options: Option<Option<Vec<GroupMemberFieldGroupOptionPatch>>>,
pub reference_name: String,
pub required_in_registration_form: bool,
pub security_level: i64,
pub sort_key: Option<i64>,
pub use_in_registration_form: bool,
pub extra: Map<String, Value>,
}Expand description
Full update of a membership field. Requires name, referenceName, securityLevel and both registration flags. Omitted notes, signup labels and defaultValue are cleared; sortKey resets to zero. Supply options with existing IDs to preserve selections.
Fields§
§default_value: ValueDefault value, validated according to fieldTypeCode. Checkbox accepts booleans and supported boolean strings; number accepts numbers or numeric strings. Date/datetime require date/Zulu date-time strings. Text and textarea accept up to 4000 characters; api accepts up to 255. Select/radioselect accept an option name or ID; multiselect accepts an array, comma-separated string or JSON-encoded array of option names/IDs. Responses normalize scalar values to strings and multiselect values to arrays of option-ID strings. Null clears the default.
name: StringInternal field name shown to administrators.
name_in_signup_form: Option<Option<String>>Optional field name shown in the signup form. Null or text identical to the internal name/note is stored as null, allowing the internal text to be used.
None leaves the field out, Some(None) sends null.
note: Option<Option<String>>Internal field description.
None leaves the field out, Some(None) sends null.
note_in_signup_form: Option<Option<String>>Optional field description shown in the signup form. Null or text identical to the internal name/note is stored as null, allowing the internal text to be used.
None leaves the field out, Some(None) sends null.
options: Option<Option<Vec<GroupMemberFieldGroupOptionPatch>>>Full replacement list; include IDs of choices to retain. [] removes all choices and their selections. Omission or null currently rebuilds the existing labels with new IDs and can clear previous selections. Always send existing IDs when preserving choices in PUT.
None leaves the field out, Some(None) sends null.
reference_name: StringMachine-readable key, unique within this group. Changing it changes the key used by reference-name clients; existing numeric field IDs remain unchanged.
required_in_registration_form: boolWhether this field is mandatory in the signup form.
security_level: i64Security level required to see and edit this field.
sort_key: Option<i64>Sort order; omission resets it to zero.
use_in_registration_form: boolWhether this field is shown in the signup form.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.