1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
//! # Currency
//!
//! Currency is for representing cash and equivalents.
//!
//!
//! ## Currency Name
//!
//! Examples:
//!
//! ```
//! # use ::typeables::currency::*;
//! let x = CurrencyNameAsStructStr("United States Dollar");
//! let x = CurrencyNameAsStructStr("Chinese Yuan");
//! let x = CurrencyNameAsStructStr("Indian Rupee");
//! let x = CurrencyNameAsStructStr("European Euro");
//! let x = CurrencyNameAsStructStr("Egyptian Pound");
//! let x = CurrencyNameAsStructStr("Indonesian Rupiah");
//! ```
//!
//! ## Currency Symbol
//!
//! Examples:
//! ```
//! # use ::typeables::currency::*;
//! let x = CurrencySymbolAsStructStr("$"); // United States Dollar
//! let x = CurrencySymbolAsStructStr("¥"); // Chinese Yuan
//! let x = CurrencySymbolAsStructStr("₹"); // Indian Rupee
//! let x = CurrencySymbolAsStructStr("€"); // European Euro
//! let x = CurrencySymbolAsStructStr("ج.م"); // Egyptian Pound
//! let x = CurrencySymbolAsStructStr("Rp"); // Indonesian Rupiah
//! ```
//// Currency Name
pub struct CurrencyNameAsStructStr(pub &'static str);
pub struct CurrencyNameAsStructString(pub String);
pub type CurrencyNameAsTypeStr = str;
pub type CurrencyNameAsTypeString = String;
//// Currency Symbol
pub struct CurrencySymbolAsStructStr(pub &'static str);
pub struct CurrencySymbolAsStructString(pub String);
pub type CurrencySymbolAsTypeStr = str;
pub type CurrencySymbolAsTypeString = String;