Struct argent::Currency [] [src]

pub struct Currency {
    pub iso_code: Option<String>,
    pub iso_numeric: Option<i16>,
    pub name: Option<String>,
    pub symbol: String,
    pub minor_ratio: i32,
    pub symbol_first: bool,
    pub decimal_mark: char,
    pub group_mark: char,
}

Fields

Methods

impl Currency
[src]

Trait Implementations

impl Debug for Currency
[src]

Formats the value using the given formatter.

impl Clone for Currency
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Currency
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Currency
[src]

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