pub struct PublicGroupFormField {Show 13 fields
pub default: Value,
pub field_type_code: Value,
pub id: i64,
pub label: Option<String>,
pub length: Option<i64>,
pub mandatory: bool,
pub name: String,
pub note: Option<String>,
pub options: Option<Vec<PublicGroupFormFieldOptionsItem>>,
pub readonly: Option<bool>,
pub sort_key: i64,
pub type: String,
pub extra: Map<String, Value>,
}Fields§
§default: ValueConfigured default, including checkbox booleans; not necessarily a string.
field_type_code: ValueAllowed values: api, checkbox, date, datetime, multiselect, number, radioselect, select, text, textarea.
id: i64ID of the form field. Only IDs within the same form field type are unique, i.e. a form field is identified by its type and its ID.
label: Option<String>A human readable label for the form field.
length: Option<i64>Maximum length when available.
mandatory: boolIf this is true, the field is required.
name: StringThe field’s internal name. Not intended to be displayed.
note: Option<String>A note for the user filling out the form, e.g. to explain why certain information is required.
options: Option<Vec<PublicGroupFormFieldOptionsItem>>Provides the set of allowed options for select fields.
readonly: Option<bool>Person field is locked, for example an email captured by the token.
sort_key: i64Form fields should be sorted by this key ascending.
type: StringField domain; combine with id to identify a submitted field.
Allowed values: comment, custom, person, privacy, privacyForChild, privacyForOther, privacyForSelf, relation.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.