Struct google_gamesconfiguration1_configuration::GamesNumberFormatConfiguration[][src]

pub struct GamesNumberFormatConfiguration {
    pub currency_code: Option<String>,
    pub number_format_type: Option<String>,
    pub num_decimal_places: Option<i32>,
    pub suffix: Option<GamesNumberAffixConfiguration>,
}

This is a JSON template for a number format resource.

This type is not used in any activity, and only used as part of another schema.

Fields

The curreny code string. Only used for CURRENCY format type.

The formatting for the number. Possible values are:

  • "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
  • "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
  • "CURRENCY" - Numbers are formatted to currency according to locale.

The number of decimal places for number. Only used for NUMERIC format type.

An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.

Trait Implementations

impl Default for GamesNumberFormatConfiguration
[src]

Returns the "default value" for a type. Read more

impl Clone for GamesNumberFormatConfiguration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GamesNumberFormatConfiguration
[src]

Formats the value using the given formatter. Read more

impl Part for GamesNumberFormatConfiguration
[src]

Auto Trait Implementations