Struct rust_iso4217::CurrencyCode
source · pub struct CurrencyCode {
pub name: &'static str,
pub code: &'static str,
pub numeric: i32,
pub unit: i32,
pub code_type: &'static str,
pub countries: &'static [&'static str],
}
Fields§
§name: &'static str
§code: &'static str
§numeric: i32
§unit: i32
§code_type: &'static str
§countries: &'static [&'static str]
Trait Implementations§
source§impl Clone for CurrencyCode
impl Clone for CurrencyCode
source§fn clone(&self) -> CurrencyCode
fn clone(&self) -> CurrencyCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CurrencyCode
impl Debug for CurrencyCode
source§impl Hash for CurrencyCode
impl Hash for CurrencyCode
source§impl PartialEq<CurrencyCode> for CurrencyCode
impl PartialEq<CurrencyCode> for CurrencyCode
source§fn eq(&self, other: &CurrencyCode) -> bool
fn eq(&self, other: &CurrencyCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.