pub struct RelationshipTypeUpdate {
pub degree_name_a: String,
pub degree_name_b: String,
pub export_title: Option<Option<String>>,
pub include_in_export: Option<Option<bool>>,
pub name: Option<Option<String>>,
pub security_level_id: i64,
pub sort_key: Option<Option<i64>>,
pub extra: Map<String, Value>,
}Expand description
Replacement fields for an existing relationship type.
Fields§
§degree_name_a: StringRole label for side A. Identical labels on both sides make the type undirected.
degree_name_b: StringRole label for side B and counterpart of degreeNameA.
export_title: Option<Option<String>>Heading for the combined export column. The export otherwise uses the type name or synthesized role labels.
None leaves the field out, Some(None) sends null.
include_in_export: Option<Option<bool>>Controls column aggregation when this relationship is selected for person export. true combines both directions into one column; false uses separate columns. It does not disable export.
None leaves the field out, Some(None) sends null.
name: Option<Option<String>>Stored name or translation key. The response derives nameTranslated from the side labels when necessary.
None leaves the field out, Some(None) sends null.
security_level_id: i64ID of an existing, installation-specific security level for relationships of this type.
sort_key: Option<Option<i64>>Ascending catalog sort key.
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.