pub struct DynamicGroupRule {
pub description: String,
pub importance: i64,
pub person_id_field_name: String,
pub process: DynamicGroupProcessSets,
pub query: DynamicGroupQuery,
pub shorty: String,
pub extra: Map<String, Value>,
}Expand description
One automatic-membership rule. Queries and processing modes are evaluated against the membership snapshot at the start of a refresh. Rules are ordered by increasing importance; any requested deletion takes precedence over updates, regardless of importance.
Fields§
§description: StringHuman-readable explanation of what this rule does.
importance: i64Determines the order of the rule sets. The higher the number, the later the rule set is processed. As it may override previous results, a higher number implies higher priority.
person_id_field_name: StringThe name of the field that contains the person id. This is used to identify the person to be placed in the dynamic group.
process: DynamicGroupProcessSetsDefines how a person is placed in the dynamic group.
query: DynamicGroupQueryChurchQuery definition evaluated by the dynamic-group engine. params.responseFields must include the field named by personIdFieldName.
shorty: StringShort rule identifier used in diagnostics.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.