pub fn amount_text(resource: &str, value: u64) -> String
A quota amount in its resource’s unit: GiB for bytes, $ for model credit, a count otherwise.