Skip to main content

render_account_json

Function render_account_json 

Source
pub fn render_account_json(account: &Account, base_url: &str) -> Value
Expand description

JSON representation for account admin display.

The traceability members are admin-only: Account::to_json is the RFC 8555 object and deliberately carries none of them. Each is omitted rather than rendered as null when the column is unset, so a template asking {% if account.createdIp %} is asking the question it looks like it is asking.