pub struct EmailPlaceholderStatisticsCreate {
pub content: Vec<String>,
pub email_template_id: Option<i64>,
pub group_id: Option<i64>,
pub automatic_email_id: Option<i64>,
pub person_ids: Vec<i64>,
pub extra: Map<String, Value>,
}Expand description
Read-only request for per-person placeholder availability. Only persons visible to the current user are considered.
Fields§
§content: Vec<String>HTML/text fragments concatenated in order without inserting whitespace. Empty array produces an empty body before optional template wrapping.
email_template_id: Option<i64>Optional HTML template. All literal {{body}} tokens are replaced with the concatenated content before placeholders are resolved. If the template has no HTML file, content is used directly.
group_id: Option<i64>Optional visible group providing group and membership placeholders. Template access can also be granted through permission to view this group’s automatic emails.
automatic_email_id: Option<i64>Accepted legacy parameter. Currently validated but not used in rendering, authorization or statistics.
person_ids: Vec<i64>IDs of the persons for which statistics are calculated
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.