[][src]Struct ynab_api::models::currency_format::CurrencyFormat

pub struct CurrencyFormat {
    pub iso_code: String,
    pub example_format: String,
    pub decimal_digits: i32,
    pub decimal_separator: String,
    pub symbol_first: bool,
    pub group_separator: String,
    pub currency_symbol: String,
    pub display_symbol: bool,
}

CurrencyFormat : The currency format setting for the budget. In some cases the format will not be available and will be specified as null.

Fields

iso_code: Stringexample_format: Stringdecimal_digits: i32decimal_separator: Stringsymbol_first: boolgroup_separator: Stringcurrency_symbol: Stringdisplay_symbol: bool

Methods

impl CurrencyFormat[src]

pub fn new(
    iso_code: String,
    example_format: String,
    decimal_digits: i32,
    decimal_separator: String,
    symbol_first: bool,
    group_separator: String,
    currency_symbol: String,
    display_symbol: bool
) -> CurrencyFormat
[src]

The currency format setting for the budget. In some cases the format will not be available and will be specified as null.

Trait Implementations

impl PartialEq<CurrencyFormat> for CurrencyFormat[src]

impl Debug for CurrencyFormat[src]

impl StructuralPartialEq for CurrencyFormat[src]

impl Serialize for CurrencyFormat[src]

impl<'de> Deserialize<'de> for CurrencyFormat[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err