Skip to main content

amount_text

Function amount_text 

Source
pub fn amount_text(resource: &str, value: u64) -> String
Expand description

A quota amount in its resource’s unit: GiB for bytes, $ for model credit, a count otherwise.