pub struct GroupAddressCreate {
pub addition: Option<Option<String>>,
pub city: Option<Option<String>>,
pub color: Value,
pub country: Option<Option<String>>,
pub district: Option<Option<String>>,
pub icon: Option<Option<String>>,
pub latitude: Value,
pub longitude: Value,
pub name: Option<Option<String>>,
pub street: Option<Option<String>>,
pub zip: Option<Option<String>>,
pub extra: Map<String, Value>,
}Expand description
Address attached to a group, used as a meeting place. All body fields are optional and default to null. Ownership is taken from the path. This operation stores coordinates supplied by the client; it does not look them up from the postal address.
Fields§
§addition: Option<Option<String>>Address addition. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
city: Option<Option<String>>Address city. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
color: ValueOptional ChurchTools color. The special values default and parent select the default or owning group color. Omitted or null clears the value.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow, default, parent.
country: Option<Option<String>>Country code, at most two characters. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
district: Option<Option<String>>Address district. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
icon: Option<Option<String>>Address icon. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
latitude: ValueCoordinate as a number or decimal string. Omitted or null clears it; geographic range limits are not validated.
longitude: ValueCoordinate as a number or decimal string. Omitted or null clears it; geographic range limits are not validated.
name: Option<Option<String>>Address name. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
street: Option<Option<String>>Address street. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
zip: Option<Option<String>>Address zip. Whitespace is trimmed; omitted, null or blank clears the value.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.