pub struct GroupMemberFieldGroup {Show 19 fields
pub deprecated: GroupMemberFieldGroupDeprecated,
pub default_value: Value,
pub field_name: Option<String>,
pub field_type_code: String,
pub field_type_id: i64,
pub group_id: i64,
pub id: i64,
pub max_length: i64,
pub name: String,
pub name_in_signup_form: Option<String>,
pub note: Option<String>,
pub note_in_signup_form: Option<String>,
pub options: Vec<GroupMemberFieldGroupOption>,
pub reference_name: String,
pub required_in_registration_form: bool,
pub security_level: i64,
pub sort_key: i64,
pub use_in_registration_form: bool,
pub extra: Map<String, Value>,
}Expand description
A group-specific membership field definition. Values belong to a person’s membership in this group, rather than to the person globally.
Fields§
§deprecated: GroupMemberFieldGroupDeprecatedCompatibility mapping returned by the serializer.
default_value: ValueNormalized default: string for scalar field types, an array of option-ID strings for multiselect, or null when unset. Checkbox defaults are strings 0/1, numeric defaults are strings, and date/datetime defaults are formatted date strings.
field_name: Option<String>Use name instead.
Use name instead.
field_type_code: StringInput/storage type. select and radioselect use one option, multiselect uses multiple options. text and textarea require a configured length when created. api identifies an application-specific field type.
Allowed values: api, checkbox, date, datetime, multiselect, number, radioselect, select, text, textarea.
field_type_id: i64Numeric id of the field type.
group_id: i64ID of the group this member field belongs to.
id: i64ID of the group member field.
max_length: i64Maximum stored value length for member field data.
name: StringInternal field name shown to administrators.
name_in_signup_form: Option<String>Optional field name shown in the signup form.
note: Option<String>Internal field description.
note_in_signup_form: Option<String>Optional field description shown in the signup form.
options: Vec<GroupMemberFieldGroupOption>Backend-assigned options for select-like fields.
reference_name: StringStable machine-readable key for this field.
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: i64Sort order among group member fields.
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.