num_format/
grouping.rs

1/// Type for specifying how digits are grouped together (e.g. 1,000,000 vs. 10,00,000 vs. 1000000).
2#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
3#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
4pub enum Grouping {
5    /// Digits are separated into groups of three (e.g. 10,000,000)
6    Standard,
7    /// The first three digits are grouped together and all digits after that are
8    /// separated into groups of two (e.g. 1,00,00,000)
9    Indian,
10    /// No grouping (e.g. 10000000)
11    Posix,
12}